]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Dec 2019 18:01:27 +0000 (18:01 +0000)
commita7fd3ecd250f76407d0ff3a1454d02994909c7fc
treeb0ec00b632cf8b23a124de86aeacce3b5f2d7f09
parent9abbb201d3e64116f40d6283e2790c91bc80ca22
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")
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: Ben Hutchings <ben@decadent.org.uk>
drivers/i2c/busses/i2c-riic.c