Commit 0aeee1b4 authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Greg Kroah-Hartman

ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks

commit cfa1950e upstream.

When introducing support for sama5d3, the write to PMC_PCDR register has
been accidentally removed.
Reported-by: default avatarNathalie Cyrille <nathalie.cyrille@atmel.com>
Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9720836
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment