lkml.org 
[lkml]   [2020]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] rtc: pcf2127: fix alarm handling
Date
On Wed, 12 Aug 2020 10:51:14 +0200, Alexandre Belloni wrote:
> 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.

Applied, thanks!

[1/1] rtc: pcf2127: fix alarm handling
commit: 27006416be16b7887fb94b3b445f32453defb3f1

Best regards,
--
Alexandre Belloni <alexandre.belloni@bootlin.com>

\
 
 \ /
  Last update: 2020-08-12 11:48    [W:0.025 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site