summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorLaurent Pinchart <laurentp@cse-semaphore.com>2008-04-02 16:46:31 +0200
committerKumar Gala <galak@kernel.crashing.org>2008-04-03 08:31:59 +0200
commit025306f30948836a743eb68a7cbaf4ab0bfb5f47 (patch)
tree2e3e204ddc47fed9ca1a65b1fbe7fa7c5deed9b4 /arch/powerpc/sysdev
parent[POWERPC] Fix defconfigs so we dont set both GENRTC and RTCLIB (diff)
downloadlinux-025306f30948836a743eb68a7cbaf4ab0bfb5f47.tar.xz
linux-025306f30948836a743eb68a7cbaf4ab0bfb5f47.zip
[POWERPC] Fix CPM2 SCC1 clock initialization.
A missing break statement in a switch caused cpm2_clk_setup() to initialize SCC2 instead of SCC1. Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/cpm2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c
index 7be711232124..dd066bb1d562 100644
--- a/arch/powerpc/sysdev/cpm2.c
+++ b/arch/powerpc/sysdev/cpm2.c
@@ -240,6 +240,7 @@ int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode)
case CPM_CLK_SCC1:
reg = &im_cpmux->cmx_scr;
shift = 24;
+ break;
case CPM_CLK_SCC2:
reg = &im_cpmux->cmx_scr;
shift = 16;