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: ds1307: 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-3-alexandre.belloni@bootlin.com

+1 -1
+1 -1
drivers/rtc/rtc-ds1307.c
··· 1955 1955 dev_info(ds1307->dev, 1956 1956 "'wakeup-source' is set, request for an IRQ is disabled!\n"); 1957 1957 /* We cannot support UIE mode if we do not have an IRQ line */ 1958 - ds1307->rtc->uie_unsupported = 1; 1958 + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, ds1307->rtc->features); 1959 1959 } 1960 1960 1961 1961 if (want_irq) {