From: Wolfram Sang Date: Thu, 5 Apr 2012 14:15:24 +0000 (+0200) Subject: i2c: mxs: handle spurious interrupt X-Git-Tag: v3.4-rc6~21^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95eeae9e39314273bcda057f27100603d333518;p=pandora-kernel.git i2c: mxs: handle spurious interrupt After an error interrupt setting cmd->err, I see another interrupt that the data engine is empty which clears cmd->err before being processed. So, clear cmd->err at the beginning of a transfer only to handle these consecutive interrupts. Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed