public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: propagate r_clk
@ 2008-12-01  6:40 Magnus Damm
  2008-12-01  6:42 ` Paul Mundt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2008-12-01  6:40 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@igel.co.jp>

Make sure the 32 KHz r_clk rate gets propagated correctly. Without
this fix the clocks for RTC, CMT, KEYSC and RWDT are stuck at 0 Hz.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 arch/sh/kernel/cpu/sh4a/clock-sh7722.c |    2 ++
 1 file changed, 2 insertions(+)

--- 0001/arch/sh/kernel/cpu/sh4a/clock-sh7722.c
+++ work/arch/sh/kernel/cpu/sh4a/clock-sh7722.c	2008-11-27 18:16:06.000000000 +0900
@@ -838,5 +838,7 @@ int __init arch_clk_init(void)
 		clk_put(clk);
 	}
 
+	clk_recalc_rate(&sh7722_r_clock); /* make sure rate gets propagated */
+
 	return 0;
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] sh: propagate r_clk
  2008-12-01  6:40 [PATCH] sh: propagate r_clk Magnus Damm
@ 2008-12-01  6:42 ` Paul Mundt
  2008-12-01  6:45 ` Magnus Damm
  2008-12-01  6:52 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2008-12-01  6:42 UTC (permalink / raw)
  To: linux-sh

On Mon, Dec 01, 2008 at 03:40:33PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@igel.co.jp>
> 
> Make sure the 32 KHz r_clk rate gets propagated correctly. Without
> this fix the clocks for RTC, CMT, KEYSC and RWDT are stuck at 0 Hz.
> 
> Signed-off-by: Magnus Damm <damm@igel.co.jp>

Does this apply to 2.6.28 also, or does it depend on your rate
propagation changes that are aimed at the merge window?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] sh: propagate r_clk
  2008-12-01  6:40 [PATCH] sh: propagate r_clk Magnus Damm
  2008-12-01  6:42 ` Paul Mundt
@ 2008-12-01  6:45 ` Magnus Damm
  2008-12-01  6:52 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2008-12-01  6:45 UTC (permalink / raw)
  To: linux-sh

On Mon, Dec 1, 2008 at 3:42 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Mon, Dec 01, 2008 at 03:40:33PM +0900, Magnus Damm wrote:
>> From: Magnus Damm <damm@igel.co.jp>
>>
>> Make sure the 32 KHz r_clk rate gets propagated correctly. Without
>> this fix the clocks for RTC, CMT, KEYSC and RWDT are stuck at 0 Hz.
>>
>> Signed-off-by: Magnus Damm <damm@igel.co.jp>
>
> Does this apply to 2.6.28 also, or does it depend on your rate
> propagation changes that are aimed at the merge window?

2.6.29 only, thanks.

/ magnus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] sh: propagate r_clk
  2008-12-01  6:40 [PATCH] sh: propagate r_clk Magnus Damm
  2008-12-01  6:42 ` Paul Mundt
  2008-12-01  6:45 ` Magnus Damm
@ 2008-12-01  6:52 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2008-12-01  6:52 UTC (permalink / raw)
  To: linux-sh

On Mon, Dec 01, 2008 at 03:45:21PM +0900, Magnus Damm wrote:
> On Mon, Dec 1, 2008 at 3:42 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> > On Mon, Dec 01, 2008 at 03:40:33PM +0900, Magnus Damm wrote:
> >> From: Magnus Damm <damm@igel.co.jp>
> >>
> >> Make sure the 32 KHz r_clk rate gets propagated correctly. Without
> >> this fix the clocks for RTC, CMT, KEYSC and RWDT are stuck at 0 Hz.
> >>
> >> Signed-off-by: Magnus Damm <damm@igel.co.jp>
> >
> > Does this apply to 2.6.28 also, or does it depend on your rate
> > propagation changes that are aimed at the merge window?
> 
> 2.6.29 only, thanks.
> 
Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-01  6:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01  6:40 [PATCH] sh: propagate r_clk Magnus Damm
2008-12-01  6:42 ` Paul Mundt
2008-12-01  6:45 ` Magnus Damm
2008-12-01  6:52 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox