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: pcf8563: 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-17-alexandre.belloni@bootlin.com

+1 -1
+1 -1
drivers/rtc/rtc-pcf8563.c
··· 552 552 553 553 pcf8563->rtc->ops = &pcf8563_rtc_ops; 554 554 /* the pcf8563 alarm only supports a minute accuracy */ 555 - pcf8563->rtc->uie_unsupported = 1; 556 555 set_bit(RTC_FEATURE_ALARM_RES_MINUTE, pcf8563->rtc->features); 556 + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, pcf8563->rtc->features); 557 557 pcf8563->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; 558 558 pcf8563->rtc->range_max = RTC_TIMESTAMP_END_2099; 559 559 pcf8563->rtc->set_start_time = true;