Skip to content
Commit 3cea99e8 authored by Chris Packham's avatar Chris Packham Committed by Greg Kroah-Hartman
Browse files

i2c: mpc: Make use of i2c_recover_bus()

[ Upstream commit 65171b2d

 ]

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: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6366c6ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment