[PATCH] clk: sunxi-ng: sun6i-rtc: Mark rtc-32k as critical

Jernej Škrabec jernej.skrabec at gmail.com
Sun Apr 24 14:24:16 PDT 2022


Dne ponedeljek, 11. april 2022 ob 07:00:59 CEST je Samuel Holland napisal(a):
> Because some newer hardware variants have multiple possible parents for
> the RTC's timekeeping clock, this driver models it as a "rtc-32k" clock.
> However, it does not add any consumer for this clock. This causes the
> common clock framework to disable it, preventing RTC time access.
> 
> Since the RTC's timekeeping clock should always be enabled, regardless
> of which drivers are loaded, let's mark this clock as critical instead
> of adding a consumer in the RTC driver.
> 
> Fixes: d91612d7f01a ("clk: sunxi-ng: Add support for the sun6i RTC clocks")
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Applied to sunxi/fixes-for-5.18, thanks!

Best regards,
Jernej





More information about the linux-arm-kernel mailing list