aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2022-03-09 17:22:32 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-03-23 19:58:38 +0100
commit9e02e8032ae546c75b3bbb5c821eb11bdec286ad (patch)
tree5c7a06dba69dc907aca8c87b682a14b258d03561 /drivers/rtc
parentclk: sunxi-ng: sun6i-rtc: Add support for H6 (diff)
downloadwireguard-linux-9e02e8032ae546c75b3bbb5c821eb11bdec286ad.tar.xz
wireguard-linux-9e02e8032ae546c75b3bbb5c821eb11bdec286ad.zip
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: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220309162301.61679-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-ds1685.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c
index 75db7ab654a5..0ec1e44e3431 100644
--- a/drivers/rtc/rtc-ds1685.c
+++ b/drivers/rtc/rtc-ds1685.c
@@ -1273,7 +1273,7 @@ ds1685_rtc_probe(struct platform_device *pdev)
/* See if the platform doesn't support UIE. */
if (pdata->uie_unsupported)
- rtc_dev->uie_unsupported = 1;
+ clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc_dev->features);
rtc->dev = rtc_dev;