]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics-rmi4 - handle incomplete input data
authorAndrew Duggan <aduggan@synaptics.com>
Wed, 9 Nov 2016 00:46:20 +0000 (16:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 9 Nov 2016 01:12:06 +0000 (17:12 -0800)
commit2a1c8c10fcbc3fb5c7537e2801130e58a4e8f3bb
tree4ab16cc8a6cc37d0e9584dfe5ba764a88dabd1f8
parentbccafab336fa49c61234e459e3fc22afae202578
Input: synaptics-rmi4 - handle incomplete input data

Commit 0a3e43d2592f ("HID: rmi: check sanity of the incoming report") added
support for handling incomplete HID reports do to the input data being
corrupted in transit. This patch reimplements this functionality in the
function drivers so they can handle getting less valid data then they
expect.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f11.c
drivers/input/rmi4/rmi_f12.c
drivers/input/rmi4/rmi_f30.c