diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-06 22:42:42 +0100 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-17 11:52:11 +0100 |
| commit | 9a25a657227279a7a627c317314108123cbc679c (patch) | |
| tree | 6917473590e95b130f3bf91d0706034abb06ead5 /drivers/rtc | |
| parent | b0f9cb4a0706b0356e84d67e48500b77b343debe (diff) | |
| download | tip-9a25a657227279a7a627c317314108123cbc679c.tar.gz | |
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>
Diffstat (limited to 'drivers/rtc')
| -rw-r--r-- | drivers/rtc/rtc-rv3032.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-rv3032.c b/drivers/rtc/rtc-rv3032.c index cb01038a2e27fe..2c6a8918acba50 100644 --- a/drivers/rtc/rtc-rv3032.c +++ b/drivers/rtc/rtc-rv3032.c @@ -70,7 +70,6 @@ #define RV3032_CLKOUT2_OS BIT(7) #define RV3032_CTRL1_EERD BIT(2) -#define RV3032_CTRL1_WADA BIT(5) #define RV3032_CTRL2_STOP BIT(0) #define RV3032_CTRL2_EIE BIT(2) @@ -947,11 +946,6 @@ static int rv3032_probe(struct i2c_client *client) if (!client->irq) clear_bit(RTC_FEATURE_ALARM, rv3032->rtc->features); - ret = regmap_update_bits(rv3032->regmap, RV3032_CTRL1, - RV3032_CTRL1_WADA, RV3032_CTRL1_WADA); - if (ret) - return ret; - rv3032_trickle_charger_setup(&client->dev, rv3032); set_bit(RTC_FEATURE_BACKUP_SWITCH_MODE, rv3032->rtc->features); |
