diff options
author | Tali Perry <tali.perry1@gmail.com> | 2025-03-28 19:32:50 +0000 |
---|---|---|
committer | Andi Shyti <andi@smida.it> | 2025-05-19 22:23:54 +0200 |
commit | 38010591a0fc3203f1cee45b01ab358b72dd9ab2 (patch) | |
tree | 6af1147e183aa26defcd283af511653fe7193c19 /net/lapb/lapb_timer.c | |
parent | 504cb3ce5215da58c07a923379fa9b1ce6797161 (diff) |
i2c: npcm: Add clock toggle recovery
During init of the bus, the module checks that the bus is idle.
If one of the lines are stuck try to recover them first before failing.
Sometimes SDA and SCL are low if improper reset occurs (e.g., reboot).
Signed-off-by: Tali Perry <tali.perry1@gmail.com>
Signed-off-by: Mohammed Elbadry <mohammed.0.elbadry@gmail.com>
Reviewed-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Link: https://lore.kernel.org/r/20250328193252.1570811-1-mohammed.0.elbadry@gmail.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions