commit | c95eeae9e39314273bcda057f27100603d333518 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Thu Apr 05 16:15:24 2012 +0200 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Wed Apr 25 22:59:44 2012 +0200 |
tree | 52ab3eee720240c6556d803574d9bee53f47d06f | |
parent | 096407136769ec10690abe1baba092abcb763662 [diff] |
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 <w.sang@pengutronix.de>