summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rx8025.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-11-07 23:54:51 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-11-10 00:45:57 +0100
commita5f828036c2e9f46d84c7c9b27bf248c7f4bb0fe (patch)
treef31e475af7b989386a0fe3c36b4a022b8620e138 /drivers/rtc/rtc-rx8025.c
parentrtc: ab-eoz9: support UIE when available (diff)
downloadlinux-a5f828036c2e9f46d84c7c9b27bf248c7f4bb0fe.tar.xz
linux-a5f828036c2e9f46d84c7c9b27bf248c7f4bb0fe.zip
rtc: ab8500: let the core handle the alarm resolution
Tell the RTC core UIE are not supported because the resolution of the alarm is a minute. Note that this is in fact also fixing how the resolution is reported as the previous test was simply ensuring the alarm was more than a minute in the future while the register has a minute resolution. This would be ok if the alarm was a countdown but ab8500_rtc_read_alarm suggests otherwise and the AB8500 datasheet states that the RTC documentation is not public. Finally, the comment is wrong and what makes the UIE emulation work is uie_unsupported being set. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20211107225458.111068-6-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-rx8025.c')
0 files changed, 0 insertions, 0 deletions