Input: cypress_ps2 - do not consider data bad if palm is detected
authorJoseph Salisbury <joseph.salisbury@canonical.com>
Wed, 16 Oct 2013 16:19:40 +0000 (09:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Oct 2013 15:40:22 +0000 (08:40 -0700)
commit5df682b297f6b23ec35615ed7bb50cbb25d25869
tree90deee137b06997463f569b328ed6bf03446ab4c
parentc2e609599a57926f20b324d05b164aabe9e372ed
Input: cypress_ps2 - do not consider data bad if palm is detected

If hardware (or firmware) detects palm on the surface of the device it does
not mean that the data packet is bad from the protocol standpoint. Instead
of reporting PSMOUSE_BAD_DATA in this case simply threat it as if nothing
touches the surface.

BugLink: http://bugs.launchpad.net/bugs/1229361
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Tested-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cypress_ps2.c