Skip to content

Commit

Permalink
Input: synaptics - keep PS/2 around when RMI4_SMB is not enabled
Browse files Browse the repository at this point in the history
Or the user might have the touchpad unbound from PS/2 but never picked
up by rmi-smbus.ko

Signed-off-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
bentiss authored and dtor committed May 30, 2017
1 parent 2755551 commit f4947d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/input/mouse/synaptics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,8 @@ enum {
SYNAPTICS_INTERTOUCH_ON,
};

static int synaptics_intertouch = SYNAPTICS_INTERTOUCH_NOT_SET;
static int synaptics_intertouch = IS_ENABLED(CONFIG_RMI4_SMB) ?
SYNAPTICS_INTERTOUCH_NOT_SET : SYNAPTICS_INTERTOUCH_OFF;
module_param_named(synaptics_intertouch, synaptics_intertouch, int, 0644);
MODULE_PARM_DESC(synaptics_intertouch, "Use a secondary bus for the Synaptics device.");

Expand Down

0 comments on commit f4947d7

Please sign in to comment.