diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-08-26 09:27:45 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-08-29 09:22:39 +0200 |
commit | 86d84083cfb15dd9594eefff7859e982770930d0 (patch) | |
tree | db7f84e2cd4d072388a12229736805de054f1944 /arch/arm | |
parent | ARM: mach-shmobile: Remove 3DG/SGX from sh7372 INTCS (diff) | |
download | linux-86d84083cfb15dd9594eefff7859e982770930d0.tar.xz linux-86d84083cfb15dd9594eefff7859e982770930d0.zip |
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/arm')
-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; |