projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e85d89
)
[POWERPC] Fix CPM2 SCC1 clock initialization.
author
Laurent Pinchart
<laurentp@cse-semaphore.com>
Wed, 2 Apr 2008 14:46:31 +0000
(16:46 +0200)
committer
Kumar Gala
<galak@kernel.crashing.org>
Thu, 3 Apr 2008 06:31:59 +0000
(
01:31
-0500)
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>
arch/powerpc/sysdev/cpm2.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/sysdev/cpm2.c
b/arch/powerpc/sysdev/cpm2.c
index
7be7112
..
dd066bb
100644
(file)
--- 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;