]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rtc: m41t80: remove HT feature for m41t65
authorAlexander Shiyan <eagle.alexander923@gmail.com>
Fri, 4 Jul 2025 09:11:44 +0000 (12:11 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 22 Jul 2025 22:44:48 +0000 (00:44 +0200)
The M41T65 device does not support the "Halt Update Bit" (HT) feature
as per its datasheet.
This aligns the driver with the actual hardware capabilities.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Link: https://lore.kernel.org/r/20250704091144.45389-1-eagle.alexander923@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-m41t80.c

index c568639d2151702440d726030e9f08a0eb514da8..869358e9305b98488b5af556fb56739e0e3e22ca 100644 (file)
@@ -72,7 +72,7 @@
 
 static const struct i2c_device_id m41t80_id[] = {
        { "m41t62", M41T80_FEATURE_SQ | M41T80_FEATURE_SQ_ALT },
-       { "m41t65", M41T80_FEATURE_HT | M41T80_FEATURE_WD },
+       { "m41t65", M41T80_FEATURE_WD },
        { "m41t80", M41T80_FEATURE_SQ },
        { "m41t81", M41T80_FEATURE_HT | M41T80_FEATURE_SQ},
        { "m41t81s", M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ },
@@ -93,7 +93,7 @@ static const __maybe_unused struct of_device_id m41t80_of_match[] = {
        },
        {
                .compatible = "st,m41t65",
-               .data = (void *)(M41T80_FEATURE_HT | M41T80_FEATURE_WD)
+               .data = (void *)(M41T80_FEATURE_WD)
        },
        {
                .compatible = "st,m41t80",