diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2020-02-25 17:50:09 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-05-05 16:37:21 +0200 |
commit | 73371d5f313aa056a451f84b652623da6054f89b (patch) | |
tree | 1052e339cc6101cf65a6ecc55823a160ad35cb3a /drivers/clk/renesas | |
parent | e896be5ad1017aa710f8b979036a43d3e5b2f38d (diff) |
i2c: at91: Send bus clear command if SDA is down
After a transfer timeout, some faulty I2C slave devices might hold down
the SDA pin. We can generate a bus clear command, hoping that the slave
might release the pins.
If the CLEAR command is not supported, we will use gpio recovery, if
available, to reset the bus.
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/clk/renesas')
0 files changed, 0 insertions, 0 deletions