On Thu, 17 Feb 2022 10:36:18 +0100, Loic Poulain wrote: > Having !allow_set_time is equivalent to non-implemented set_time > function, which is normally represented with -ENODEV error in RTC > subsystem. > > Today we are returning -EACCES error code, which is not considered > by RTC clients as a 'non implemented' feature, and which causes NTP > to retry hw clk sync (update_rtc) indefinitely. > > [...] Applied, thanks! [1/1] rtc: pm8xxx: Return -ENODEV if set_time disallowed commit: 870c54e1a3e111613cd68e5cc867455dc4765cd6 -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com