Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfa1950e authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Nicolas Ferre
Browse files

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: 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>
Cc: <stable@vger.kernel.org> # 3.10.x and later
parent b65e0fb3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);