git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535ebd2
)
i2c: mxs: do error checking and handling in PIO mode
author
Lucas Stach
<l.stach@pengutronix.de>
Mon, 15 Apr 2013 00:16:55 +0000
(
00:16
+0000)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 15 Apr 2013 16:29:58 +0000
(18:29 +0200)
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>
drivers/i2c/busses/i2c-mxs.c
patch
|
blob
|
history
diff --cc
drivers/i2c/busses/i2c-mxs.c
Simple merge