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: pcf8523: 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-14-alexandre.belloni@bootlin.com

+1 -1
+1 -1
drivers/rtc/rtc-pcf8523.c
··· 450 450 rtc->ops = &pcf8523_rtc_ops; 451 451 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; 452 452 rtc->range_max = RTC_TIMESTAMP_END_2099; 453 - rtc->uie_unsupported = 1; 453 + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features); 454 454 455 455 if (client->irq > 0) { 456 456 err = regmap_write(pcf8523->regmap, PCF8523_TMR_CLKOUT_CTRL, 0x38);