From: Ludovic Desroches Date: Mon, 22 Sep 2014 13:51:33 +0000 (+0200) Subject: ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfa1950e6c6b72251e80adc736af3c3d2907ab0e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks When introducing support for sama5d3, the write to PMC_PCDR register has been accidentally removed. Reported-by: Nathalie Cyrille Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre Cc: # 3.10.x and later --- diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index 034529d801b2..d66f102c352a 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);