]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: synaptics-rmi4 - allow to add attention data
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Sat, 3 Dec 2016 01:48:51 +0000 (17:48 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Dec 2016 01:51:31 +0000 (17:51 -0800)
commitb908d3cd812abe3f4a74d7550bbf0a8cbcfbe6ed
treeee455c7a27dc2dbb32a0b5c6689998fc90597e1d
parente621132f934f5922e8a3968edd236f97cdad60cf
Input: synaptics-rmi4 - allow to add attention data

The HID implementation of RMI4 provides the data during
the interrupt (in the input report). We need to provide
a way for this transport driver to provide the attention
data while calling an IRQ.

We use a fifo in rmi_core to not lose any incoming event.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_driver.c
include/linux/rmi.h