i2c: mpc: Make use of i2c_recover_bus()
stable inclusion from stable-v5.10.44 commit d78b76af9f61f384526137d45e53cea0a1020132 bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=460 CVE: NA ------------------------------------------------- [ 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: NChris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: NWolfram Sang <wsa@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: Nzhujiahui <1907685700@qq.com> Reviewed-by: Jian Cheng <cj.chengjian(a)huawei.com> Signed-off-by: NWang ShaoBo <bobo.shaobowang@huawei.com>
Showing
想要评论请 注册 或 登录