From: Lucas Stach Date: Mon, 15 Apr 2013 00:16:55 +0000 (+0000) Subject: i2c: mxs: do error checking and handling in PIO mode X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~62^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b775c2949287e675fdb3cac96bb0cda64efbfe;p=pandora-kernel.git 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 Tested-by: Marek Vasut Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed