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>
This commit is contained in:

committed by
Dmitry Torokhov

parent
df077237cf
commit
bf232e460a
@@ -1774,7 +1774,7 @@ static int elantech_create_smbus(struct psmouse *psmouse,
|
||||
if (info->has_trackpoint)
|
||||
smbus_board.properties = i2c_properties;
|
||||
|
||||
return psmouse_smbus_init(psmouse, &smbus_board, NULL, 0,
|
||||
return psmouse_smbus_init(psmouse, &smbus_board, NULL, 0, false,
|
||||
leave_breadcrumbs);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user