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: mpc5121: 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-5-alexandre.belloni@bootlin.com

+1 -1
+1 -1
drivers/rtc/rtc-mpc5121.c
··· 336 336 337 337 rtc->rtc->ops = &mpc5200_rtc_ops; 338 338 set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc->features); 339 - rtc->rtc->uie_unsupported = 1; 339 + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->rtc->features); 340 340 rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; 341 341 rtc->rtc->range_max = 65733206399ULL; /* 4052-12-31 23:59:59 */ 342 342