From: Valentine <valentine.barshak@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] clk: shmobile: Fix SMTP clock index
Date: Fri, 27 Dec 2013 17:55:54 +0000 [thread overview]
Message-ID: <52BDBF2A.5050906@cogentembedded.com> (raw)
In-Reply-To: <1388155329-11124-1-git-send-email-valentine.barshak@cogentembedded.com>
On 12/27/2013 06:53 PM, Laurent Pinchart wrote:
> Hi Valentine,
>
> Thank you for the patch.
>
> On Friday 27 December 2013 18:42:09 Valentine Barshak wrote:
>> Use clkidx when registering SMTP clocks instead of loop counter
>> since the value is then used to access the specific clock index bit
>> in the smtp register.
>>
>> The issue was introduced by the following commit:
>> f94859c215b6d977 "clk: shmobile: Add MSTP clock support"
>
> I wonder how I've failed to notice this :-/
Unfortunately there's more than that. I'll bundle this patch with
another one that attempts to fix a couple of more issues with clks
array initialization and resend the whole series in a bit.
>
>> Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
> Mike, could you please pick this up for v3.14 ?
>
>> ---
>> drivers/clk/shmobile/clk-mstp.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/clk/shmobile/clk-mstp.c
>> b/drivers/clk/shmobile/clk-mstp.c index e576b60..be7d017 100644
>> --- a/drivers/clk/shmobile/clk-mstp.c
>> +++ b/drivers/clk/shmobile/clk-mstp.c
>> @@ -205,8 +205,8 @@ static void __init cpg_mstp_clocks_init(struct
>> device_node *np) continue;
>> }
>>
>> - clks[clkidx] = cpg_mstp_clock_register(name, parent_name, i,
>> - group);
>> + clks[clkidx] = cpg_mstp_clock_register(name, parent_name,
>> + clkidx, group);
>> if (!IS_ERR(clks[clkidx])) {
>> group->data.clk_num = max(group->data.clk_num, clkidx);
>> /*
Thanks,
Val.
next prev parent reply other threads:[~2013-12-27 17:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 14:42 [PATCH] clk: shmobile: Fix SMTP clock index Valentine Barshak
2013-12-27 14:53 ` Laurent Pinchart
2013-12-27 17:55 ` Valentine [this message]
2014-01-06 1:28 ` Kuninori Morimoto
2014-01-06 13:56 ` Valentine
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=52BDBF2A.5050906@cogentembedded.com \
--to=valentine.barshak@cogentembedded.com \
--cc=linux-sh@vger.kernel.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 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).