Thread (1 message) flat view 1 message, 1 author, 2022-03-09
STALE1356d LANDED

Landed in mainline as 965994736554 on 2022-03-23.

[PATCH 07/29] rtc: opal: switch to RTC_FEATURE_UPDATE_INTERRUPT

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2022-03-09 16:35:05
Also in: linux-rtc, lkml
Subsystem: linux for powerpc (32-bit and 64-bit), real time clock (rtc) subsystem, the rest · Maintainers: Madhavan Srinivasan, Alexandre Belloni, Linus Torvalds

Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-opal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c
index f8f49a969c23..ad41aaf8a17f 100644
--- a/drivers/rtc/rtc-opal.c
+++ b/drivers/rtc/rtc-opal.c
@@ -250,7 +250,7 @@ static int opal_rtc_probe(struct platform_device *pdev)
 	rtc->ops = &opal_rtc_ops;
 	rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
 	rtc->range_max = RTC_TIMESTAMP_END_9999;
-	rtc->uie_unsupported = 1;
+	clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features);
 
 	return devm_rtc_register_device(rtc);
 }
-- 
2.35.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help