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)
commit6d0dbeae71f074c67b081eae45cd58fa39dfda2e
tree4ab16cc8a6cc37d0e9584dfe5ba764a88dabd1f8
parent3aeed5b573f97b4525841cc07c1e948227af389f
Input: synaptics-rmi4 - handle incomplete input data

Commit 5b65c2a02966 ("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