diff options
author | Laurent Pinchart <laurentp@cse-semaphore.com> | 2008-04-02 16:46:31 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-04-03 01:31:59 -0500 |
commit | 025306f30948836a743eb68a7cbaf4ab0bfb5f47 (patch) | |
tree | 2e3e204ddc47fed9ca1a65b1fbe7fa7c5deed9b4 /arch | |
parent | 1e85d89fa3954eff332033c0e75f6e2442be44ed (diff) | |
download | linux-3.10-025306f30948836a743eb68a7cbaf4ab0bfb5f47.tar.gz linux-3.10-025306f30948836a743eb68a7cbaf4ab0bfb5f47.tar.bz2 linux-3.10-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')
-rw-r--r-- | arch/powerpc/sysdev/cpm2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c index 7be71123212..dd066bb1d56 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; |