i2c-eg20t: Separate error processing
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Wed, 12 Oct 2011 04:13:03 +0000 (13:13 +0900)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:09:33 +0000 (11:09 +0100)
commit12bd3146518ab984c1eb234a0f81756ddc5e3683
tree569803f477950373973f510aa70831af163335d7
parentc249ac207f2cedb49f2c9442afbaac35bfcfcd25
i2c-eg20t: Separate error processing

Error processing for NACK or wait-event must be precessed separately.
So divide wait-event error processing into NACK-receiving and timeout.
Add arbitration lost processing.

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