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: switch to RTC_FEATURE_UPDATE_INTERRUPT

Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead.

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

+1 -1
+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 - rtc->uie_unsupported = 1; 430 + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features); 431 431 rtc->ops = &pcf2123_rtc_ops; 432 432 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; 433 433 rtc->range_max = RTC_TIMESTAMP_END_2099;