diff options
author | Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> | 2020-08-27 10:35:16 +1200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-12-02 21:29:30 +0100 |
commit | 9c7cae2427715502227f823364a6a77828fdf3ea (patch) | |
tree | 9b48fab235b6c6792f50ae4ce207dfa9f99d92fb /mm/mincore.c | |
parent | 5df324b5f4baa3a51990f078fa445800197dfba3 (diff) |
i2c: mv64xxx: Add bus error recovery
This adds i2c bus recovery to the mv64xxx driver.
Implement bus recovery to recover from SCL/SDA stuck low.
This uses the generic recovery function, setting the clock/data lines as
GPIO pins, and sending 9 clocks to try and recover the bus.
Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
[wsa: added some curly braces]
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions