mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
Input: synaptics - handle spurious release of trackstick buttons, again
commit 82be788c96 upstream.
Looks like the fimware 8.2 still has the extra buttons spurious release
bug.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=114321
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
842ec116c7
commit
ed12031e71
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user