From: Stephen Boyd <sboyd@codeaurora.org>
To: Sergej Sawazki <ce3a@gmx.de>
Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH] clk: si5351: Do not enable parent clocks on probe
Date: Fri, 21 Jul 2017 14:41:57 -0700 [thread overview]
Message-ID: <20170721214157.GK19878@codeaurora.org> (raw)
In-Reply-To: <1486239477-24720-1-git-send-email-ce3a@gmx.de>
On 02/04, Sergej Sawazki wrote:
> The si5351 driver should not, by default, enable other clocks in
> the tree. Let the clients decide when to enable the clocks.
>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Signed-off-by: Sergej Sawazki <ce3a@gmx.de>
> ---
I'll bite after many months.
> drivers/clk/clk-si5351.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c
> index b051db4..f9eb590 100644
> --- a/drivers/clk/clk-si5351.c
> +++ b/drivers/clk/clk-si5351.c
> @@ -1442,9 +1442,9 @@ static int si5351_i2c_probe(struct i2c_client *client,
> }
>
> if (!IS_ERR(drvdata->pxtal))
> - clk_prepare_enable(drvdata->pxtal);
> + clk_prepare(drvdata->pxtal);
> if (!IS_ERR(drvdata->pclkin))
> - clk_prepare_enable(drvdata->pclkin);
> + clk_prepare(drvdata->pclkin);
Why isn't the prepare also removed?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
prev parent reply other threads:[~2017-07-21 21:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-04 20:17 [PATCH] clk: si5351: Do not enable parent clocks on probe Sergej Sawazki
2017-07-21 21:41 ` Stephen Boyd [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170721214157.GK19878@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=ce3a@gmx.de \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).