]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: da9063: switch to RTC_FEATURE_UPDATE_INTERRUPT
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Nov 2021 23:47:50 +0000 (00:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 30 Nov 2021 23:24:03 +0000 (00:24 +0100)
commit7f0ca479181eacb6436e62fa47abb0c93174cad6
treebf21a79f66264d51081ef71310c7c1d1c618ee5f
parent225c7bf017c7ba4789445c02ec20662e025b5492
rtc: da9063: switch to RTC_FEATURE_UPDATE_INTERRUPT

Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead.
Also, let the core know that the alarm will truncate seconds as it only has
a minute resolution.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20211109234750.107115-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-da9063.c