Searched hist:ea572d853eb03c6ac2021c21aae60891b5f92655 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | mxc_i2c.c | ea572d853eb03c6ac2021c21aae60891b5f92655 Thu Jul 19 08:18:05 UTC 2012 Troy Kisky <troy.kisky@boundarydevices.com> mxc_i2c: clear i2sr before waiting for bit
Let's clear the sr register before waiting for bit to be set, instead of clearing it after hardware sets it. No real operational difference here, but allows combining of i2c_imx_trx_complete and i2c_imx_bus_busy in later patches.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Marek Vasut <marex@denx.de>
|