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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 19:06:08 +0000 (11:06 -0800)
commit05a7b2aaba98195b262f6eaebeebe39f8eb4be19
tree5ee9f5e6817a086e1347c4403f395cfe6e53416c
parent5dc868284408c4c99b2043c2dc742004c036a125
Input: cypress_ps2 - do not consider data bad if palm is detected

commit 5df682b297f6b23ec35615ed7bb50cbb25d25869 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/cypress_ps2.c