aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorCsókás, Bence <[email protected]>2024-06-19 14:04:52 +0000
committerAlexandre Belloni <[email protected]>2024-07-06 22:40:17 +0000
commit463927a8902a9f22c3633960119410f57d4c8920 (patch)
treeec326aaf2486e8e418fa80c09e77fbfdd36cde9f /lib/test_xarray.c
parentrtc: ds1307: Clamp year to valid BCD (0-99) in `set_time()` (diff)
downloadkernel-463927a8902a9f22c3633960119410f57d4c8920.tar.gz
kernel-463927a8902a9f22c3633960119410f57d4c8920.zip
rtc: interface: Add RTC offset to alarm after fix-up
`rtc_add_offset()` is called by `__rtc_read_time()` and `__rtc_read_alarm()` to add the RTC's offset to the raw read-outs from the device drivers. However, in the latter case, a fix-up algorithm is run if the RTC device does not report a full `struct rtc_time` alarm value. In that case, the offset was forgot to be added. Fixes: fd6792bb022e ("rtc: fix alarm read and set offset") Signed-off-by: Csókás, Bence <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions