OSDN Git Service

i2c: fsi: Add bus recovery
authorEddie James <eajames@linux.vnet.ibm.com>
Tue, 17 Jul 2018 15:31:05 +0000 (10:31 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 20 Jul 2018 22:07:09 +0000 (00:07 +0200)
commit720d5ce9309d5503b2c29b621f5490e961f5953c
tree5ef5882d3d83fcafd819f24a86453a1afb91ca04
parentf4cdc319cff88eb83564a5466c15af8128dd8284
i2c: fsi: Add bus recovery

Bus recovery should reset the bus with the standard i2c recovery
procedure. Populate the necessary fields so that the standard procedure
can perform the reset.

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-fsi.c