diff options
author | Samuel Holland <[email protected]> | 2022-04-11 00:00:59 -0500 |
---|---|---|
committer | Jernej Skrabec <[email protected]> | 2022-04-24 23:22:46 +0200 |
commit | b4f3d5f06e29b7020f19cc788b2c2de750e888a1 (patch) | |
tree | 9f40ed8ebc81b084b419253b11c442baa22118f8 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | c887bdc4fb254a871e6180e18203152c548419f1 (diff) |
clk: sunxi-ng: sun6i-rtc: Mark rtc-32k as critical
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 <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions