diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-05-23 02:30:31 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-05-24 01:49:22 +0200 |
commit | bf232e460a3530adf17da7d7f1332347b73a3d08 (patch) | |
tree | d44c07a2bc7d73fd4dd19cd0c71acb084267528f /drivers/input/mouse/synaptics.c | |
parent | Input: elantech - detect new ICs and setup Host Notify for them (diff) | |
download | linux-bf232e460a3530adf17da7d7f1332347b73a3d08.tar.xz linux-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 'drivers/input/mouse/synaptics.c')
-rw-r--r-- | drivers/input/mouse/synaptics.c | 2 |
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); } |