summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2013-04-15 00:16:55 +0000
committerWolfram Sang <wsa@the-dreams.de>2013-04-15 18:29:58 +0200
commit92b775c2949287e675fdb3cac96bb0cda64efbfe (patch)
tree2e7d17202e52335379e4f2d27e7c147dc2c81fe8 /usr
parent535ebd217d38dde481a927f21e6824d8b37bdb28 (diff)
downloadop-kernel-dev-92b775c2949287e675fdb3cac96bb0cda64efbfe.zip
op-kernel-dev-92b775c2949287e675fdb3cac96bb0cda64efbfe.tar.gz
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 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud