]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 10:27:55 +0000 (12:27 +0200)
commitba8d9cdbe5a2174187a8b9694bb3c9e4862c1936
tree9bdece3aa21562726fce2b69ca9542573c06d0b6
parentc648d4350015ab238c0b1ba35616adfb72f5d76b
i2c: riic: Clear NACK in tend isr

commit a71e2ac1f32097fbb2beab098687a7a95c84543e upstream.

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: 310c18a41450 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-riic.c