aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorLoic Poulain <[email protected]>2022-02-17 10:36:18 +0100
committerAlexandre Belloni <[email protected]>2022-03-25 11:38:33 +0100
commit870c54e1a3e111613cd68e5cc867455dc4765cd6 (patch)
treebc2685a5914a60b4183c4d20b0309220d9a176ff /net/lapb/lapb_timer.c
parentb5bf5b283d07bd1f4d49657557fb99ec5fbfc588 (diff)
rtc: pm8xxx: Return -ENODEV if set_time disallowed
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. Signed-off-by: Loic Poulain <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions