7955262
From cb6fcfe5a7e9197ceb7e9eec56e9c526e4e76354 Mon Sep 17 00:00:00 2001
7955262
From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
7955262
Date: Mon, 14 Mar 2016 19:37:12 +0100
7955262
Subject: [PATCH] Input: synaptics - handle spurious release of trackstick
7955262
 buttons, again
7955262
7955262
Looks like the fimware 8.2 stall has the extra buttons spurious release
7955262
bug.
7955262
7955262
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
7955262
---
7955262
 drivers/input/mouse/synaptics.c | 3 ++-
7955262
 1 file changed, 2 insertions(+), 1 deletion(-)
7955262
7955262
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
7955262
index 6025eb4..4ef8d7a 100644
7955262
--- a/drivers/input/mouse/synaptics.c
7955262
+++ b/drivers/input/mouse/synaptics.c
7955262
@@ -863,7 +863,8 @@ static void synaptics_report_ext_buttons(struct psmouse *psmouse,
7955262
 		return;
7955262
 
7955262
 	/* Bug in FW 8.1, buttons are reported only when ExtBit is 1 */
7955262
-	if (SYN_ID_FULL(priv->identity) == 0x801 &&
7955262
+	if ((SYN_ID_FULL(priv->identity) == 0x801 ||
7955262
+	     SYN_ID_FULL(priv->identity) == 0x802) &&
7955262
 	    !((psmouse->packet[0] ^ psmouse->packet[3]) & 0x02))
7955262
 		return;
7955262
 
7955262
-- 
7955262
2.5.0
7955262