diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-28 13:53:27 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-28 13:53:27 +0200 |
commit | 74717b28cb32e1ad3c1042cafd76b264c8c0f68d (patch) | |
tree | 7c1d4e6cbe904588c21463daef8099a6b83a1925 /drivers/rtc/rtc-ds1307.c | |
parent | rtc: rv3029: fix vendor string (diff) | |
download | linux-74717b28cb32e1ad3c1042cafd76b264c8c0f68d.tar.xz linux-74717b28cb32e1ad3c1042cafd76b264c8c0f68d.zip |
rtc: set the alarm to the next expiring timer
If there is any non expired timer in the queue, the RTC alarm is never set.
This is an issue when adding a timer that expires before the next non
expired timer.
Ensure the RTC alarm is set in that case.
Fixes: 2b2f5ff00f63 ("rtc: interface: ignore expired timers when enqueuing new timers")
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
0 files changed, 0 insertions, 0 deletions