rtc: m41t80: remove HT feature for m41t65
PATCH 1/1 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 <[email protected]>
--- drivers/rtc/rtc-m41t80.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/rtc/rtc-m41t80.c +2 -2
@@ -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",
Signature · 1 line
2.39.1
Quoted 5 lines · Alexander Shiyan
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.
Applied, thanks!
[1/1] rtc: m41t80: remove HT feature for m41t65
https://git.kernel.org/abelloni/c/289642767c2e
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com