Tyrone Ting b011810572 i2c: npcm: use a software flag to indicate a BER condition
If not clearing the BB (bus busy) condition in the BER (bus error)
interrupt, the driver causes a timeout and hence the i2c core
doesn't do the i2c transfer retry but returns the driver's return
value to the upper layer instead.

Clear the BB condition in the BER interrupt and a software flag is
used. The driver does an i2c recovery without causing the timeout
if the flag is set.

Signed-off-by: Tyrone Ting <kfting@nuvoton.com>
Reviewed-by: Tali Perry <tali.perry1@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-11-17 11:58:13 +01:00
..
2024-09-23 14:34:19 -07:00
2024-09-10 00:36:49 +02:00
2024-11-13 23:29:46 +01:00
2024-09-10 00:33:52 +02:00
2024-09-10 00:33:52 +02:00
2024-09-10 00:33:52 +02:00
2024-09-23 14:34:19 -07:00
2024-09-10 00:33:52 +02:00