Skip to content

Commit 9a25a65

Browse files
rtc: rv3032: drop WADA
WADA doesn't actually exist in CTRL1 of the RV-3032, drop it. Link: https://lore.kernel.org/r/20250306214243.1167692-2-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent b0f9cb4 commit 9a25a65

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/rtc/rtc-rv3032.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
#define RV3032_CLKOUT2_OS BIT(7)
7171

7272
#define RV3032_CTRL1_EERD BIT(2)
73-
#define RV3032_CTRL1_WADA BIT(5)
7473

7574
#define RV3032_CTRL2_STOP BIT(0)
7675
#define RV3032_CTRL2_EIE BIT(2)
@@ -947,11 +946,6 @@ static int rv3032_probe(struct i2c_client *client)
947946
if (!client->irq)
948947
clear_bit(RTC_FEATURE_ALARM, rv3032->rtc->features);
949948

950-
ret = regmap_update_bits(rv3032->regmap, RV3032_CTRL1,
951-
RV3032_CTRL1_WADA, RV3032_CTRL1_WADA);
952-
if (ret)
953-
return ret;
954-
955949
rv3032_trickle_charger_setup(&client->dev, rv3032);
956950

957951
set_bit(RTC_FEATURE_BACKUP_SWITCH_MODE, rv3032->rtc->features);

0 commit comments

Comments
 (0)