Skip to content
Commit 7e91ed76 authored by Jernej Skrabec's avatar Jernej Skrabec
Browse files

clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change



While PLL CPUX clock rate change when CPU is running from it works in
vast majority of cases, now and then it causes instability. This leads
to system crashes and other undefined behaviour. After a lot of testing
(30+ hours) while also doing a lot of frequency switches, we can't
observe any instability issues anymore when doing reparenting to stable
clock like 24 MHz oscillator.

Fixes: 524353ea ("clk: sunxi-ng: add support for the Allwinner H6 CCU")
Reported-by: default avatarChad Wagner <wagnerch42@gmail.com>
Link: https://forum.libreelec.tv/thread/27295-orange-pi-3-lts-freezes/


Tested-by: default avatarChad Wagner <wagnerch42@gmail.com>
Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20231013181712.2128037-1-jernej.skrabec@gmail.com


Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
parent 4cece764
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment