]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2127: set RTC_FEATURE_ALARM_RES_2S
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:42 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:39 +0000 (19:58 +0100)
commit26b401b8124e04919dc00225b261ec4c8aee50fc
treedca9567d7ec1e714abaed3e570b66804e66046b4
parent850b11cbdeb186ac1d444d052e2f003172814991
rtc: pcf2127: set RTC_FEATURE_ALARM_RES_2S

The PCF2127 doesn't support UIE because setting an alarm to fire every
second confuses the chip and the fastest we can go is an alarm every 2
seconds.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-11-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf2127.c