diff options
author | Laurent Pinchart <laurentp@cse-semaphore.com> | 2008-04-02 10:46:31 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-04-03 02:31:59 -0400 |
commit | 025306f30948836a743eb68a7cbaf4ab0bfb5f47 (patch) | |
tree | 2e3e204ddc47fed9ca1a65b1fbe7fa7c5deed9b4 /arch | |
parent | 1e85d89fa3954eff332033c0e75f6e2442be44ed (diff) |
[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 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) | |||
240 | case CPM_CLK_SCC1: | 240 | case CPM_CLK_SCC1: |
241 | reg = &im_cpmux->cmx_scr; | 241 | reg = &im_cpmux->cmx_scr; |
242 | shift = 24; | 242 | shift = 24; |
243 | break; | ||
243 | case CPM_CLK_SCC2: | 244 | case CPM_CLK_SCC2: |
244 | reg = &im_cpmux->cmx_scr; | 245 | reg = &im_cpmux->cmx_scr; |
245 | shift = 16; | 246 | shift = 16; |