]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash
authorLucas Stach <l.stach@pengutronix.de>
Mon, 2 Dec 2019 17:37:00 +0000 (09:37 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Dec 2019 01:58:16 +0000 (17:58 -0800)
commit5d942ef69ec1c958b7cc811dddd43621873ff9f8
tree55aa6407e225c36f5cd7bfd80c1abc9d295e8137
parenta9d7285be9d802b9507fbcee18d696cebe4e1bc2
Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash

F34 is a bit special as it reinitializes the device and related driver
structs during the firmware update. This clears the fn_irq_mask which
will then prevent F34 from receiving further interrupts, leading to
timeouts during the firmware update. Make sure to reinitialize the
IRQ enables at the appropriate times.

The issue is in F34 code, but the commit in the fixes tag exposed the
issue, as before this commit things would work by accident.

Fixes: 4c050185485e (Input: synaptics-rmi4 - avoid processing unknown IRQs)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20191129133514.23224-1-l.stach@pengutronix.de
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f34v7.c