clk: sunxi-ng: a523: Mark MBUS clock as critical
authorChen-Yu Tsai <wens@csie.org>
Sat, 7 Jun 2025 13:50:29 +0000 (21:50 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sat, 14 Jun 2025 15:59:45 +0000 (23:59 +0800)
commit713d48878e8a5e4bcca6355324f943eb72cd2c84
tree8eb83eb392b35c81a97c2abe4df1495be9762b18
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
clk: sunxi-ng: a523: Mark MBUS clock as critical

The MBUS serves as the main data bus for various DMA masters in the
system. If its clock is not enabled, the DMA operations will stall,
leading to the peripherals stalling or timing out. This has been
observed as USB or MMC hosts timing out waiting for transactions
when the clock is automatically disabled by the CCF due to it not
being used.

Mark the clock as critical so that it never gets disabled.

Fixes: 74b0443a0d0a ("clk: sunxi-ng: a523: add system mod clocks")
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20250607135029.2085140-1-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun55i-a523.c