From: Stephen Boyd <sboyd@codeaurora.org>
To: Jun Nie <jun.nie@linaro.org>,
mturquette@baylibre.com, linux-clk@vger.kernel.org
Cc: shawn.guo@linaro.org, jason.liu@linaro.org
Subject: Re: [PATCH] clk: disable unused clk if enable_count == 0
Date: Thu, 7 Apr 2016 17:14:47 -0700 [thread overview]
Message-ID: <5706F7F7.3030205@codeaurora.org> (raw)
In-Reply-To: <1460020558-5152-1-git-send-email-jun.nie@linaro.org>
On 04/07/2016 02:15 AM, Jun Nie wrote:
> If .is_enabled callback is not implemented, clk_core_is_enabled
> will take software enable_count as enable status. If enable_count
> is zero, .disable will not be called as software assume clock
> is not enabled though clock may be booted with free running state.
> Disable the clock in this situation.
>
> Signed-off-by: Jun Nie <jun.nie@linaro.org>
> ---
Why not implement the is_enabled callback then?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2016-04-08 0:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-07 9:15 [PATCH] clk: disable unused clk if enable_count == 0 Jun Nie
2016-04-08 0:14 ` Stephen Boyd [this message]
2016-04-08 0:46 ` Jun Nie
2016-04-14 0:37 ` Stephen Boyd
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=5706F7F7.3030205@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=jason.liu@linaro.org \
--cc=jun.nie@linaro.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=shawn.guo@linaro.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.