diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-19 23:49:40 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-19 23:56:09 +0300 |
commit | 0680a6cdabf0629ab276d4d78b61c4761d15cb28 (patch) | |
tree | 34a9cbe61d4c3298b2961b198ea61c04c7ebe2f6 /drivers/rtc/rtc-cpcap.c | |
parent | a986429095df39e7a5b85a53b1e71ee8d07d3390 (diff) | |
download | linux-0680a6cdabf0629ab276d4d78b61c4761d15cb28.tar.xz |
rtc: ds1343: rework interrupt handling
Rework the interrupt handling to avoid caching the values as the core is
already doing that. The core also always ensures the rtc_time passed for
the alarm is fully populated.
The only trick is in read_alarm where status needs to be read before the
alarm registers to ensure the potential irq is not cleared.
Link: https://lore.kernel.org/r/20191019204941.6203-8-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-cpcap.c')
0 files changed, 0 insertions, 0 deletions