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 18:57:18 +0000 (10:57 -0800)
commit5b1c45c29961824f123ae8ed1020db2bd8d072ba
treeea8d4aac3207009889d3d2dbb2ab73c771d4a40b
parentcb8e5e98aeae9e0d845576f6f59227c9ad8f76ff
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