diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2013-04-15 04:16:55 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-04-15 20:29:58 +0400 |
commit | 92b775c2949287e675fdb3cac96bb0cda64efbfe (patch) | |
tree | 2e7d17202e52335379e4f2d27e7c147dc2c81fe8 /drivers/i2c/busses/i2c-at91.c | |
parent | 535ebd217d38dde481a927f21e6824d8b37bdb28 (diff) | |
download | linux-92b775c2949287e675fdb3cac96bb0cda64efbfe.tar.xz |
i2c: mxs: do error checking and handling in PIO mode
In PIO mode we can end up with the same errors as in DMA mode, but as IRQs
are disabled there we have to check for them manually after each command.
Also don't use the big controller reset hammer when receiving a NAK from a
slave. It's sufficient to tell the controller to continue at a clean state.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-at91.c')
0 files changed, 0 insertions, 0 deletions