Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alexander Shiyan and committed by
Alexandre Belloni
28964276 fed5aaeb

+2 -2
+2 -2
drivers/rtc/rtc-m41t80.c
··· 72 72 73 73 static const struct i2c_device_id m41t80_id[] = { 74 74 { "m41t62", M41T80_FEATURE_SQ | M41T80_FEATURE_SQ_ALT }, 75 - { "m41t65", M41T80_FEATURE_HT | M41T80_FEATURE_WD }, 75 + { "m41t65", M41T80_FEATURE_WD }, 76 76 { "m41t80", M41T80_FEATURE_SQ }, 77 77 { "m41t81", M41T80_FEATURE_HT | M41T80_FEATURE_SQ}, 78 78 { "m41t81s", M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ }, ··· 93 93 }, 94 94 { 95 95 .compatible = "st,m41t65", 96 - .data = (void *)(M41T80_FEATURE_HT | M41T80_FEATURE_WD) 96 + .data = (void *)(M41T80_FEATURE_WD) 97 97 }, 98 98 { 99 99 .compatible = "st,m41t80",