From 4e8c8f266dad512af284e9b84d76d76dda8c5fc0 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 11 Nov 2008 09:52:21 -0500 Subject: [PATCH] --- yaml --- r: 119337 b: refs/heads/master c: 5fb17fd9a2d05be77be91369aa2f7b0db42fc8b4 h: refs/heads/master i: 119335: c748c6bf0c92f82e6f9b55550f4c1a4340312ba6 v: v3 --- [refs] | 2 +- trunk/drivers/input/mouse/hgpk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 07a416309c67..d0b0252e161c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d6d79a785d430c0e17f7e2d662f10de022cbca93 +refs/heads/master: 5fb17fd9a2d05be77be91369aa2f7b0db42fc8b4 diff --git a/trunk/drivers/input/mouse/hgpk.c b/trunk/drivers/input/mouse/hgpk.c index e82d34201e97..88f04bf2ad6c 100644 --- a/trunk/drivers/input/mouse/hgpk.c +++ b/trunk/drivers/input/mouse/hgpk.c @@ -125,7 +125,7 @@ static void hgpk_spewing_hack(struct psmouse *psmouse, */ static int hgpk_validate_byte(unsigned char *packet) { - return (packet[0] & 0x0C) == 0x08; + return (packet[0] & 0x0C) != 0x08; } static void hgpk_process_packet(struct psmouse *psmouse)