MLK-21956-2 mxc_i2c: Remove i2c_idle_bus from probe
authorYe Li <ye.li@nxp.com>
Thu, 6 Jun 2019 08:29:03 +0000 (01:29 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 6 Jun 2019 09:27:10 +0000 (02:27 -0700)
commite999c45f436f1187ef1185997d3838ad8b28421c
treecee81292e2aa9a3818e257251278f7c11433f577
parent4fd2f04db1513d4bcd294a4c94193a4d59785b6d
MLK-21956-2 mxc_i2c: Remove i2c_idle_bus from probe

i2c_idle_bus is already used in i2c_init_transfer. So before each tranfer
if the bus is not ready, the i2c_idle_bus will be used to force idle.
It is unnecessary to call it again in probe.

We found a issue when enabling i2c mux with the mxc_i2c. The mxc_i2c is probed
after mux probing. However, at this moment the mux is still in idle state,
won't select port. So if we call i2c_idle_bus in probe, it will fail and cause
mxc_i2c probe failed.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/i2c/mxc_i2c.c