aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2018-05-22 17:30:31 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-05-23 16:49:22 -0700
commitbf232e460a3530adf17da7d7f1332347b73a3d08 (patch)
treed44c07a2bc7d73fd4dd19cd0c71acb084267528f /drivers/input/mouse/synaptics.c
parentInput: elantech - detect new ICs and setup Host Notify for them (diff)
downloadlinux-dev-bf232e460a3530adf17da7d7f1332347b73a3d08.tar.xz
linux-dev-bf232e460a3530adf17da7d7f1332347b73a3d08.zip
Input: psmouse-smbus - allow to control psmouse_deactivate
This seems to be Synaptics specific, as some Elan touchpads are not correctly switching to SMBus if we call deactivate before switching to SMBus on cold boot and on resume. Tested with the T480s Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: KT Liao <kt.liao@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/input/mouse/synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 60f2c463d1cc..e3e0ef585eb6 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1748,7 +1748,7 @@ static int synaptics_create_intertouch(struct psmouse *psmouse,
};
return psmouse_smbus_init(psmouse, &intertouch_board,
- &pdata, sizeof(pdata),
+ &pdata, sizeof(pdata), true,
leave_breadcrumbs);
}