diff options
author | Mario Limonciello <[email protected]> | 2023-11-27 23:36:51 -0600 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-12-17 22:33:54 +0100 |
commit | 1311a8f0d4b23f58bbababa13623aa40b8ad4e0c (patch) | |
tree | 4ad0f29cefb328949bdb80dd87233b2c817fe67b /scripts/gdb/linux/stackdepot.py | |
parent | af838635a3eb9b1bc0d98599c101ebca98f31311 (diff) |
rtc: Adjust failure return code for cmos_set_alarm()
When mc146818_avoid_UIP() fails to return a valid value, this is because
UIP didn't clear in the timeout period. Adjust the return code in this
case to -ETIMEDOUT.
Tested-by: Mateusz Jończyk <[email protected]>
Reviewed-by: Mateusz Jończyk <[email protected]>
Acked-by: Mateusz Jończyk <[email protected]>
Cc: <[email protected]>
Fixes: cdedc45c579f ("rtc: cmos: avoid UIP when reading alarm time")
Fixes: cd17420ebea5 ("rtc: cmos: avoid UIP when writing alarm time")
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions