]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: octeon: Use i2c recovery framework
authorJan Glauber <jglauber@cavium.com>
Mon, 25 Apr 2016 14:33:31 +0000 (16:33 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 25 Apr 2016 21:27:06 +0000 (23:27 +0200)
commitc981e34eee146fe560c46704396342ff979346d7
treef7b16dcb994db3cfd1c6c5df45108d4b712fd6b7
parentb4c715d04006ccc17d9ae0cf673b2f65267c042b
i2c: octeon: Use i2c recovery framework

Switch to the i2c bus recovery framework using generic SCL recovery.
If this fails try to reset the hardware. The recovery is triggered
during START on timeout of the interrupt or failure to reach
the START / repeated-START condition.

The START function is moved to xfer and while at it remove the
xfer debug message (i2c core already provides a debug message
for this).

Signed-off-by: Jan Glauber <jglauber@cavium.com>
[wsa: removed one empty line]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c