aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/mouse/synaptics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 8f6a153677b9..9d599eb79f17 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1570,7 +1570,8 @@ static void set_input_params(struct psmouse *psmouse,
1570 1570
1571 if (SYN_CAP_CLICKPAD(priv->ext_cap_0c)) { 1571 if (SYN_CAP_CLICKPAD(priv->ext_cap_0c)) {
1572 __set_bit(INPUT_PROP_BUTTONPAD, dev->propbit); 1572 __set_bit(INPUT_PROP_BUTTONPAD, dev->propbit);
1573 if (psmouse_matches_pnp_id(psmouse, topbuttonpad_pnp_ids)) 1573 if (psmouse_matches_pnp_id(psmouse, topbuttonpad_pnp_ids) &&
1574 !SYN_CAP_EXT_BUTTONS_STICK(priv->ext_cap_10))
1574 __set_bit(INPUT_PROP_TOPBUTTONPAD, dev->propbit); 1575 __set_bit(INPUT_PROP_TOPBUTTONPAD, dev->propbit);
1575 /* Clickpads report only left button */ 1576 /* Clickpads report only left button */
1576 __clear_bit(BTN_RIGHT, dev->keybit); 1577 __clear_bit(BTN_RIGHT, dev->keybit);