> From: Clark Wang
> Sent: Wednesday, March 17, 2021 2:54 PM
>
> 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: Gao Pan
> Signed-off-by: Clark Wang
From: Gao Pan
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: Gao Pan
Signed-off-by: Clark Wang
---
drivers/i2c/busses/i2c-imx-lpi2c.c | 12 +++-
1 file
2 matches
Mail list logo