projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b65e0fb
)
ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks
author
Ludovic Desroches
<ludovic.desroches@atmel.com>
Mon, 22 Sep 2014 13:51:33 +0000
(15:51 +0200)
committer
Nicolas Ferre
<nicolas.ferre@atmel.com>
Wed, 24 Sep 2014 16:00:42 +0000
(18:00 +0200)
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
arch/arm/mach-at91/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/clock.c
b/arch/arm/mach-at91/clock.c
index
034529d
..
d66f102
100644
(file)
--- 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);