Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 26aca22

Browse files
ldesrochesgregkh
authored andcommitted
ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks
commit cfa1950 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4148f81 commit 26aca22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: arch/arm/mach-at91/clock.c

+1
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@ static int __init at91_clock_reset(void)
947947
}
948948

949949
at91_pmc_write(AT91_PMC_SCDR, scdr);
950+
at91_pmc_write(AT91_PMC_PCDR, pcdr);
950951
if (cpu_is_sama5d3())
951952
at91_pmc_write(AT91_PMC_PCDR1, pcdr1);
952953

0 commit comments

Comments
 (0)