]> git.baikalelectronics.ru Git - kernel.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)
commit435f175166c57a00f276bd446343f08429c457aa
treeee455c7a27dc2dbb32a0b5c6689998fc90597e1d
parentf5932ef5d5bfe0d1b3f70a418c14bd3cc94b36a3
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