All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: remove .init from sh7709_cpu_clk_ops
@ 2009-09-14  0:48 Rafael Ignacio Zurita
  2009-09-14  2:00 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael Ignacio Zurita @ 2009-09-14  0:48 UTC (permalink / raw)
  To: linux-sh

It avoids to change the parent of sh7709_cpu_clk. With this change
master_clk is the parent of cpu_clk (from clk_cpg_legacy), and it
prevents the second mutex_lock(&clock_list_sem) while the first
one is still locked.

Signed-off-by: Rafael Ignacio Zurita <rizurita@yahoo.com>
---
 arch/sh/kernel/cpu/sh3/clock-sh7709.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/sh/kernel/cpu/sh3/clock-sh7709.c b/arch/sh/kernel/cpu/sh3/clock-sh7709.c
index fa30b60..f3064f9 100644
--- a/arch/sh/kernel/cpu/sh3/clock-sh7709.c
+++ b/arch/sh/kernel/cpu/sh3/clock-sh7709.c
@@ -78,7 +78,6 @@ static unsigned long cpu_clk_recalc(struct clk *clk)
 }
 
 static struct clk_ops sh7709_cpu_clk_ops = {
-	.init		= set_bus_parent,
 	.recalc		= cpu_clk_recalc,
 };
 

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

end of thread, other threads:[~2009-09-14  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14  0:48 [PATCH] sh: remove .init from sh7709_cpu_clk_ops Rafael Ignacio Zurita
2009-09-14  2:00 ` Paul Mundt

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.