Commit 14e6fc13 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: mpc5121: switch to RTC_FEATURE_UPDATE_INTERRUPT

Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-5-alexandre.belloni@bootlin.com
parent 9597f8cc
...@@ -336,7 +336,7 @@ static int mpc5121_rtc_probe(struct platform_device *op) ...@@ -336,7 +336,7 @@ static int mpc5121_rtc_probe(struct platform_device *op)
rtc->rtc->ops = &mpc5200_rtc_ops; rtc->rtc->ops = &mpc5200_rtc_ops;
set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc->features); set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc->features);
rtc->rtc->uie_unsupported = 1; clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->rtc->features);
rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
rtc->rtc->range_max = 65733206399ULL; /* 4052-12-31 23:59:59 */ rtc->rtc->range_max = 65733206399ULL; /* 4052-12-31 23:59:59 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment