You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i2c: hisi: Only use the completion interrupt to finish the transfer
The controller will always generate a completion interrupt when the
transfer is finished normally or not. Currently we use either error or
completion interrupt to finish, this may result the completion
interrupt unhandled and corrupt the next transfer, especially at low
speed mode. Since on error case, the error interrupt will come first
then is the completion interrupt. So only use the completion interrupt
to finish the whole transfer process.
Fixes: d62fbdb ("i2c: add support for HiSilicon I2C controller")
Reported-by: Sheng Feng <[email protected]>
Signed-off-by: Sheng Feng <[email protected]>
Signed-off-by: Yicong Yang <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
0 commit comments