Commit 9e02e803 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: ds1685: switch to RTC_FEATURE_UPDATE_INTERRUPT

Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead.
There is currently a missing information as to why this is not supported on
ioc3.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-1-alexandre.belloni@bootlin.com
parent 1738890a
...@@ -1273,7 +1273,7 @@ ds1685_rtc_probe(struct platform_device *pdev) ...@@ -1273,7 +1273,7 @@ ds1685_rtc_probe(struct platform_device *pdev)
/* See if the platform doesn't support UIE. */ /* See if the platform doesn't support UIE. */
if (pdata->uie_unsupported) if (pdata->uie_unsupported)
rtc_dev->uie_unsupported = 1; clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc_dev->features);
rtc->dev = rtc_dev; rtc->dev = rtc_dev;
......
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