summaryrefslogtreecommitdiff
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-11-17 22:22:01 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-11-19 12:46:39 +0100
commit7d9d4868ec0b34dbfc74b3075dc1e896cc98f783 (patch)
treed82f53b3c813b58dcd6fd056bc4d56c3e6f87ae7 /drivers/rtc/interface.c
parentba7aa63000f26c5a2c87d5a716601499a02a3156 (diff)
downloadlinux-7d9d4868ec0b34dbfc74b3075dc1e896cc98f783.tar.gz
linux-7d9d4868ec0b34dbfc74b3075dc1e896cc98f783.tar.bz2
linux-7d9d4868ec0b34dbfc74b3075dc1e896cc98f783.zip
rtc: sc27xx: Always read normal alarm
The RTC core only reads the alarm from the hardware at boot time, to know whether an alarm was already set before booting. It keeps track of all the alarms after that so there is no need to ever read the auxiliary alarm. Commit 3822d1bb0df1 ("rtc: sc27xx: Always read normal alarm when registering RTC device") already effectively removed the capability to read the auxiliary alarm as .read_alarm is always called with rtc->registered set to false. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Chunyan Zhang <zhang.lyra@gmail.com> Link: https://lore.kernel.org/r/20201117212201.1288608-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions