From: Laurent Pinchart Date: Wed, 2 Apr 2008 14:46:31 +0000 (+0200) Subject: [POWERPC] Fix CPM2 SCC1 clock initialization. X-Git-Tag: v2.6.25-rc9~76^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=025306f30948836a743eb68a7cbaf4ab0bfb5f47;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Kumar Gala --- 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;