Input: psmouse - fix incorrect validate_byte check in OLPC protocol
authorAndres Salomon <dilinger@queued.net>
Tue, 11 Nov 2008 14:52:21 +0000 (09:52 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 11 Nov 2008 16:32:07 +0000 (11:32 -0500)
commit5fb17fd9a2d05be77be91369aa2f7b0db42fc8b4
treeb2fa75d7fe568b63804f3316784323c1f6c32205
parentd6d79a785d430c0e17f7e2d662f10de022cbca93
Input: psmouse - fix incorrect validate_byte check in OLPC protocol

The validate_byte check logic was backwards; it should return true for
an *invalid* packet.  Thanks to Jeremy Katz for spotting this one.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/hgpk.c