projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1376d3
)
Input: synaptics - handle spurious release of trackstick buttons, again
author
Benjamin Tissoires
<
[email protected]
>
Fri, 18 Mar 2016 00:12:54 +0000
(17:12 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Fri, 18 Mar 2016 00:15:57 +0000
(17:15 -0700)
Looks like the fimware 8.2 still has the extra buttons spurious release
bug.
Link:
https://bugzilla.kernel.org/show_bug.cgi?id=114321
Cc:
[email protected]
Signed-off-by: Benjamin Tissoires <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/mouse/synaptics.c
patch
|
blob
|
history
diff --git
a/drivers/input/mouse/synaptics.c
b/drivers/input/mouse/synaptics.c
index 6025eb430c0a5010c908961ccf8897943fd3c945..a41d8328c0643ccd9f2c88885f47be262983df30 100644
(file)
--- a/
drivers/input/mouse/synaptics.c
+++ b/
drivers/input/mouse/synaptics.c
@@
-862,8
+862,9
@@
static void synaptics_report_ext_buttons(struct psmouse *psmouse,
if (!SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap))
return;
- /* Bug in FW 8.1, buttons are reported only when ExtBit is 1 */
- if (SYN_ID_FULL(priv->identity) == 0x801 &&
+ /* Bug in FW 8.1 & 8.2, buttons are reported only when ExtBit is 1 */
+ if ((SYN_ID_FULL(priv->identity) == 0x801 ||
+ SYN_ID_FULL(priv->identity) == 0x802) &&
!((psmouse->packet[0] ^ psmouse->packet[3]) & 0x02))
return;