summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1307.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-28 13:53:27 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-28 13:53:27 +0200
commit74717b28cb32e1ad3c1042cafd76b264c8c0f68d (patch)
tree7c1d4e6cbe904588c21463daef8099a6b83a1925 /drivers/rtc/rtc-ds1307.c
parentrtc: rv3029: fix vendor string (diff)
downloadlinux-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