]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: riic: Clear NACK in tend isr
authorChris Brandt <chris.brandt@renesas.com>
Thu, 26 Sep 2019 12:19:09 +0000 (07:19 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 28 Sep 2019 18:44:12 +0000 (20:44 +0200)
commitcb506c56de88f3a61dff29e9915034cb4bfe72c9
tree0abdf47803a81d7e2bae28f50351d7ad65bd1c76
parent5f3cf20396acce36a4f2ceaf3ae3a1a34e11c1ee
i2c: riic: Clear NACK in tend isr

The NACKF flag should be cleared in INTRIICNAKI interrupt processing as
description in HW manual.

This issue shows up quickly when PREEMPT_RT is applied and a device is
probed that is not plugged in (like a touchscreen controller). The result
is endless interrupts that halt system boot.

Fixes: e9c2059d2259 ("i2c: riic: add driver")
Cc: stable@vger.kernel.org
Reported-by: Chien Nguyen <chien.nguyen.eb@rvc.renesas.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-riic.c