summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2014-09-22 15:51:33 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-09-24 18:00:42 +0200
commitcfa1950e6c6b72251e80adc736af3c3d2907ab0e (patch)
tree364e54a10826dd7d39848da7676460814c0825af /arch
parentb65e0fb3d046cc65d0a3c45d43de351fb363271b (diff)
downloadlinux-cfa1950e6c6b72251e80adc736af3c3d2907ab0e.tar.gz
linux-cfa1950e6c6b72251e80adc736af3c3d2907ab0e.tar.bz2
linux-cfa1950e6c6b72251e80adc736af3c3d2907ab0e.zip
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 <nathalie.cyrille@atmel.com> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: <stable@vger.kernel.org> # 3.10.x and later
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-at91/clock.c1
1 files changed, 1 insertions, 0 deletions
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);