[RESEND PATCH] ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks

Nicolas Ferre nicolas.ferre at atmel.com
Wed Sep 24 09:03:03 PDT 2014


On 22/09/2014 15:51, Ludovic Desroches :
> When introducing support for sama5d3, the write to PMC_PCDR register has
> been accidentally removed.
> 
> Reported-by: Nathalie Cyrille <nathalie.cyrille at atmel.com>
> Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
> Cc: <stable at vger.kernel.org> # 3.10.x and later

Absolutely: thanks for the fix!

Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>

I queue it in at91-3.18-fixes-non-critical branch and it may show-up in
3.18 or 3.19.

Best regards,


> ---
> 
> Sorry for the noise, typo in the cc list!
> 
> Ludovic
> 
>  arch/arm/mach-at91/clock.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
> index 034529d..d66f102 100644
> --- a/arch/arm/mach-at91/clock.c
> +++ b/arch/arm/mach-at91/clock.c
> @@ -962,6 +962,7 @@ static int __init at91_clock_reset(void)
>  	}
>  
>  	at91_pmc_write(AT91_PMC_SCDR, scdr);
> +	at91_pmc_write(AT91_PMC_PCDR, pcdr);
>  	if (cpu_is_sama5d3())
>  		at91_pmc_write(AT91_PMC_PCDR1, pcdr1);
>  
> 


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list