
19 Feb
2024
19 Feb
'24
5:32 p.m.
Fix the driver to behave like the chip datasheet requires. Improve wake up function to send low signal on SDA line for at least 60us as chip requires to wake up. Fix sleep function to move the chip into sleep mode, not into idle mode. Remove unnecessary for loop, which would never run for more than one iteration.
Michał Barnaś (3): misc: atsha204a: remove broken for loop misc: atsha204a: fix sleep function misc: atsha204a: fix wakeup function
drivers/misc/atsha204a-i2c.c | 90 ++++++++++++++++++++++++------------ 1 file changed, 61 insertions(+), 29 deletions(-)
--
2.44.0.rc0.258.g7320e95886-goog