Home
last modified time | relevance | path

Searched hist:"7 aa57a01c0b5589c6f757b7a5106e09f9ba8fb10" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/i2c/
H A Dmxc_i2c.c7aa57a01c0b5589c6f757b7a5106e09f9ba8fb10 Thu Jul 19 08:18:09 UTC 2012 Troy Kisky <troy.kisky@boundarydevices.com> mxc_i2c: combine i2c_imx_bus_busy and i2c_imx_trx_complete into wait_for_sr_state

Not using udelay gives a more accurate timeout. The current implementation of udelay
in imx-common does not seem to wait at all for a udelay(1).

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>

----
V2: Added WATCHDOG_RESET as suggested by Marek Vasut
add error message when stop fails

mxc_i2c: code i2c_probe as a 0 length i2c_write

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>