Skip to content

Commit 2896427

Browse files
shcgitalexandrebelloni
authored andcommitted
rtc: m41t80: remove HT feature for m41t65
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>
1 parent fed5aae commit 2896427

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/rtc/rtc-m41t80.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
static const struct i2c_device_id m41t80_id[] = {
7474
{ "m41t62", M41T80_FEATURE_SQ | M41T80_FEATURE_SQ_ALT },
75-
{ "m41t65", M41T80_FEATURE_HT | M41T80_FEATURE_WD },
75+
{ "m41t65", M41T80_FEATURE_WD },
7676
{ "m41t80", M41T80_FEATURE_SQ },
7777
{ "m41t81", M41T80_FEATURE_HT | M41T80_FEATURE_SQ},
7878
{ "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[] = {
9393
},
9494
{
9595
.compatible = "st,m41t65",
96-
.data = (void *)(M41T80_FEATURE_HT | M41T80_FEATURE_WD)
96+
.data = (void *)(M41T80_FEATURE_WD)
9797
},
9898
{
9999
.compatible = "st,m41t80",

0 commit comments

Comments
 (0)