Input: synaptics-rmi4 - move IRQ handling to rmi_driver
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 9 Nov 2016 00:34:57 +0000 (16:34 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 9 Nov 2016 01:12:05 +0000 (17:12 -0800)
commit3aeed5b573f97b4525841cc07c1e948227af389f
treea3b5234fe5bed4e18c1370b88e10075dc1a98b3e
parent8029a283c4ac100dc4492993633d4c87a7da55d6
Input: synaptics-rmi4 - move IRQ handling to rmi_driver

The attn IRQ is related to the chip, rather than the transport, so move
all handling of interrupts to the core driver. This also makes sure that
there are no races between interrupts and availability of the resources
used by the core driver.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_driver.c
drivers/input/rmi4/rmi_i2c.c
drivers/input/rmi4/rmi_spi.c
include/linux/rmi.h