aboutsummaryrefslogtreecommitdiffstats
path: root/samples/hidraw/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-19 22:49:40 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-19 22:56:09 +0200
commit0680a6cdabf0629ab276d4d78b61c4761d15cb28 (patch)
tree34a9cbe61d4c3298b2961b198ea61c04c7ebe2f6 /samples/hidraw/ssh:/git@git.zx2c4.com/git:
parentrtc: ds1343: remove unnecessary mutex (diff)
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 'samples/hidraw/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions