Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1222294
| From | Georgi Djakov <georgi.djakov@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 2/4] clk: qcom: Add support for RCGs with shared branches |
| Date | 2015-09-10 18:40 +0200 |
| Message-ID | <q7d3b-6Y6-17@gated-at.bofh.it> (permalink) |
| References | <pX1Zn-6gD-7@gated-at.bofh.it> <pX1Zo-6gD-25@gated-at.bofh.it> <q6WlI-8l1-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 09/10/2015 01:46 AM, Stephen Boyd wrote:
> On 08/13, Georgi Djakov wrote:
[..]
>> diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c
>> index 9aec1761fd29..681faf2dcdc5 100644
>> --- a/drivers/clk/qcom/clk-rcg2.c
>> +++ b/drivers/clk/qcom/clk-rcg2.c
>> +
>> +static int clk_rcg2_shared_enable(struct clk_hw *hw)
>> +{
>> + struct clk_rcg2 *rcg = to_clk_rcg2(hw);
>> + const char *name = clk_hw_get_name(hw);
>> +
>> + if (!rcg->current_freq) {
>> + pr_err("%s: Please set rate before enabling\n", name);
>
> Why? Can't we find the current freq during recalc_rate?
>
Yes, thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v3 2/4] clk: qcom: Add support for RCGs with shared branches Stephen Boyd <sboyd@codeaurora.org> - 2015-09-10 00:50 +0200 Re: [PATCH v3 2/4] clk: qcom: Add support for RCGs with shared branches Georgi Djakov <georgi.djakov@linaro.org> - 2015-09-10 18:40 +0200
csiph-web