diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-08-12 10:51:14 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-08-12 11:48:29 +0200 |
commit | 27006416be16b7887fb94b3b445f32453defb3f1 (patch) | |
tree | b3ac00f460235de70d87c81d5e2f84d5e0b9113f /Documentation/devicetree/bindings/sound | |
parent | 8a914bac44be33623cfcf27688b18b6f81a5c7d5 (diff) |
rtc: pcf2127: fix alarm handling
Fix multiple issues when handling alarms:
- Use threaded interrupt to avoid scheduling when atomic
- Stop matching on week day as it may not be set correctly
- Avoid parsing the DT interrupt and use what is provided by the i2c or
spi subsystem
- Avoid returning IRQ_NONE in case of error in the interrupt handler
- Never write WDTF as specified in the datasheet
- Set uie_unsupported, as for the pcf85063, setting alarms every seconds
is not working correctly and confuses the RTC.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200812085114.474903-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
0 files changed, 0 insertions, 0 deletions