diff options
| author | Troy Kisky <[email protected]> | 2012-07-19 08:18:05 +0000 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2012-07-31 07:42:20 +0200 |
| commit | ea572d853eb03c6ac2021c21aae60891b5f92655 (patch) | |
| tree | f62bf5c68b7ac5a03d17b0378be72e15056b92f1 /include/linux/string.h | |
| parent | cea60b0c6ce77a8dffd7177fca31fa7610aa6923 (diff) | |
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 <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
