i2c-eg20t: Add initialize processing in case i2c-error occurs
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Wed, 12 Oct 2011 04:13:06 +0000 (13:13 +0900)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:09:33 +0000 (11:09 +0100)
commit24597bf8012cf3fa5703c38e1bb13df3118d7588
treea32c2760af44828759d3712123f4a3b1405c8275
parentcb59f5253a5313d62e8e345fcd5dd5a44a73e0d6
i2c-eg20t: Add initialize processing in case i2c-error occurs

In case disconnecting physical connection,
need to initialize i2c device for retry access.
This patch adds initialize process in case bus-idle fails and Lost arbitration.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-eg20t.c