Skip to content
Snippets Groups Projects
Commit 9886066c authored by Gao Pan's avatar Gao Pan Committed by Dong Aisheng
Browse files

MLK-14393 i2c: imx-lpi2c: directly retrun ISR when detect a NACK


A NACK flag in ISR means i2c bus error. In such codition,
there is no need to do read/write operation. It's better
to return ISR directly and then stop i2c transfer.

Signed-off-by: default avatarGao Pan <pandy.gao@nxp.com>
(cherry-pick from 839d59e48b6fdbd882776a48a88ce26ff14d8b86)
Signed-off-by: default avatarVipul Kumar <vipul_kumar@mentor.com>
(cherry picked from commit 3d052746)
parent 840f9fcf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment