Skip to content
Snippets Groups Projects
Commit 3d052746 authored by Gao Pan's avatar Gao Pan Committed by Leonard Crestez
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>
parent 42b5aa1d
No related branches found
No related tags found
Loading
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