Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rtc: pcf2123: set RTC_FEATURE_ALARM_RES_MINUTE

Alarms have a resolution of a minute.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-9-alexandre.belloni@bootlin.com

+1
+1
drivers/rtc/rtc-pcf2123.c
··· 427 427 * support to this driver to generate interrupts more than once 428 428 * per minute. 429 429 */ 430 + set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->features); 430 431 clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features); 431 432 rtc->ops = &pcf2123_rtc_ops; 432 433 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;