Skip to content
Commit c95eeae9 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarWolfram Sang <w.sang@pengutronix.de>
parent 09640713
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment