Re: [PATCH] MIPS: ingenic: Unconditionally enable clock of CPU #0

From: Thomas Bogendoerfer
Date: Sun Aug 29 2021 - 07:36:59 EST


On Mon, Aug 23, 2021 at 06:34:05PM +0100, Paul Cercueil wrote:
> Make sure that the PLL that feeds the CPU won't be stopped while the
> kernel is running.
>
> This fixes a problem on JZ4760 (and probably others) where under very
> specific conditions, the main PLL would be turned OFF when the kernel
> was shutting down, causing the shutdown process to fail.
>
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> ---
> arch/mips/generic/board-ingenic.c | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]