commit | ba900685ad6a32a7f986e1e6a0dc5c21f5f04593 | [log] [tgz] |
---|---|---|
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | Mon Mar 29 14:52:03 2021 +1300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 16 11:53:02 2021 +0200 |
tree | 88b37080006649755d194a7e7e1fa5e7d15f9289 | |
parent | e49b75dc946ca71acbfa44d94cd0fac7115ab4fa [diff] |
i2c: mpc: Make use of i2c_recover_bus() [ Upstream commit 65171b2df15eb7545431d75c2729b5062da89b43 ] Move the existing calls of mpc_i2c_fixup() to a recovery function registered via bus_recovery_info. This makes it more obvious that recovery is supported and allows for a future where recovery is triggered by the i2c core. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>