diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-08-26 11:27:45 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-08-29 11:22:39 +0400 |
commit | 86d84083cfb15dd9594eefff7859e982770930d0 (patch) | |
tree | db7f84e2cd4d072388a12229736805de054f1944 /arch | |
parent | 4861da4feebe548a749c7f52c89a325839c3d281 (diff) | |
download | linux-86d84083cfb15dd9594eefff7859e982770930d0.tar.xz |
ARM: mach-shmobile: clock-sh73a0: tidyup CKSCR main clock selecter
MAINCKSEL is [29:28], not [27:24]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-shmobile/clock-sh73a0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh73a0.c b/arch/arm/mach-shmobile/clock-sh73a0.c index 6db2ccabc2bf..61a846bb30f2 100644 --- a/arch/arm/mach-shmobile/clock-sh73a0.c +++ b/arch/arm/mach-shmobile/clock-sh73a0.c @@ -365,7 +365,7 @@ void __init sh73a0_clock_init(void) __raw_writel(0x108, SD2CKCR); /* detect main clock parent */ - switch ((__raw_readl(CKSCR) >> 24) & 0x03) { + switch ((__raw_readl(CKSCR) >> 28) & 0x03) { case 0: main_clk.parent = &sh73a0_extal1_clk; break; |