]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbccafab336fa49c61234e459e3fc22afae202578
treea3b5234fe5bed4e18c1370b88e10075dc1a98b3e
parent05e1323ef1a25018ef34ab831dfc04237e38017a
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