[PATCH v2] PowerPC/FSL/CPM: Configure clock correctly for SCC

Scott Wood scottwood at freescale.com
Tue Apr 6 04:05:59 EST 2010


Wolfgang Ocker wrote:
> 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 at reccoware.de>
> ---
> 
> v2: Scott Wood encouraged me to include a similar fix for CPM2.
> 
>  arch/powerpc/sysdev/cpm1.c |   14 +++++++++++---
>  arch/powerpc/sysdev/cpm2.c |   11 ++++++++---
>  2 files changed, 19 insertions(+), 6 deletions(-)

Acked-by: Scott Wood <scottwood at freescale.com>

-Scott


More information about the Linuxppc-dev mailing list