Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp998172imm; Wed, 25 Jul 2018 09:41:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfsmORRLe2ZDETqw07A2bcm7VvhBP6z+x9Tg+Og448JqFrVYpCBIYuOo0HdWHXNVnYoPW+4 X-Received: by 2002:a17:902:8d8c:: with SMTP id v12-v6mr2753944plo.94.1532536876017; Wed, 25 Jul 2018 09:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532536875; cv=none; d=google.com; s=arc-20160816; b=mlCz3Qx5JjQ2b9M7cnUU9Kg0+J3MQ/m7NyxowgugWdFi/lN82lPEYyuswgk7lBJz3W Gc5SuqB6EZn39+Gi8TjJBUN+lfgZgHAtTFREN/F+GCoIOAT3nwU8v9V2rlFnia1+Bl8/ iaIfbze8gkoPfDnpxcIKeY/3H00Ycu7gVb5jZ7CM6fdMSNqZYBqrhika6SRYkyMvRlit BbzN9zutzFg0zHZdaJ9HoxNYVzAPAOq9jKIvQriF93WtUkd/fpbxKeQ42rGgYwCbSMns 9fjSYQp6ShIheInkWwsL8YN7LG6VyVyqnC9ZUqrnXxvLnlOOxk9CEi+G+Ei6BRCR5akU azww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=4kSjaYFprfp9AWf3Jvl+O0ClbFs/qzeKfpwTqF1pvqQ=; b=us2vbjqp55MzFdrm8DrJ/ehICkKjQcKjLCxpbhV5QHoTHruk4S8zS5IBU2qsCfbCA8 QP7KkUVAMvqm2Jyb6QNMmSnzd7OtLd4bJuEypbv7KTtWoJeA2VK6+0WLtU7mMi1/a2CO ogdLyvaGWPK0enAVGAkhUPvxCvXWezj5ec35EqKTcbM2ZPc/ganivpVL9PzWbq4XuUsN rksKHzhO6XcYwPRPtB8rNFlnbyX1F2BpNNy9CVmyfpRyNACcej18TE8AZ6w1l9jI4nXf ojJ2XbUo64UOWlyw41ThvYeM3H48Ck4bSLPDOGqdh1d+QtoLWkwvGeeUHlCBrmmp2JHF Kpxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NDolSMu7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4-v6si13648219pgb.279.2018.07.25.09.41.01; Wed, 25 Jul 2018 09:41:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NDolSMu7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731334AbeGYRwM (ORCPT + 99 others); Wed, 25 Jul 2018 13:52:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:54540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728998AbeGYRwM (ORCPT ); Wed, 25 Jul 2018 13:52:12 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E353920882; Wed, 25 Jul 2018 16:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532536785; bh=4kSjaYFprfp9AWf3Jvl+O0ClbFs/qzeKfpwTqF1pvqQ=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=NDolSMu73E21kMu1pnd+FX8S0rwgmtald2wF5BcZsVqXdeKvQJLPhIOgxGmAyyXVe tV9dnO27c9yQGuTm4cjxHFC4VY8rp9HOMvZgtPDGY1etL17I+Wpgd0MrWHEwIOd4mY jvG1FZejueKEacYRzptDIJ1qF0O0Ty55gE3knx9E= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Rajan Vaja , mturquette@baylibre.com From: Stephen Boyd In-Reply-To: <1531833420-27175-1-git-send-email-rajan.vaja@xilinx.com> Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Rajan Vaja References: <1531833420-27175-1-git-send-email-rajan.vaja@xilinx.com> Message-ID: <153253678426.48062.18003542444197103522@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure Date: Wed, 25 Jul 2018 09:39:44 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Rajan Vaja (2018-07-17 06:17:00) > Fixed factor clock has two initializations at of_clk_init() time > and during platform driver probe. Before of_clk_init() call, > node is marked as populated and so its probe never gets called. > = > During of_clk_init() fixed factor clock registration may fail if > any of its parent clock is not registered. In this case, it doesn't > get chance to retry registration from probe. Clear OF_POPULATED > flag if fixed factor clock registration fails so that clock > registration is attempted again from probe. > = > Signed-off-by: Rajan Vaja > --- Applied to clk-next