Skip to content
Commit 9c7cae24 authored by Mark Tomlinson's avatar Mark Tomlinson Committed by Wolfram Sang
Browse files

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: default avatarMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
[wsa: added some curly braces]
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 5df324b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment