]> 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)
commitcec90cc644353605010d8a402392bf942365baca
tree4ab16cc8a6cc37d0e9584dfe5ba764a88dabd1f8
parent10ab8ebe59ccab5c1eb4249b32a4f456e7002e40
Input: synaptics-rmi4 - handle incomplete input data

Commit ca72a247f00f ("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