]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl-cpm: Configure clock correctly for SCC
authorWolfgang Ocker <weo@reccoware.de>
Sat, 3 Apr 2010 14:11:43 +0000 (16:11 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 20 Apr 2010 04:13:03 +0000 (23:13 -0500)
commitec2622aa33698615de7b48b02eb6b27ce015e4ad
tree8896708d7926109e2176bcd715b32ff97c6431e7
parent9ed03f2ecc12733d4e0ae90fd90ec91314e648f1
powerpc/fsl-cpm: Configure clock correctly for SCC

Some board setup functions call cpm1_clk_setup() or cmp2_clk_setup()
to configure the clock source.

If CPM_CLK_RTX has been used for the parameter mode,
the clock has been configured only for TX but not for RX.

With this patch CPM_CLK_RTX configures the clock for both directions
correctly.

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/cpm1.c
arch/powerpc/sysdev/cpm2.c