diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2017-05-23 17:15:24 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-29 23:00:24 -0400 |
commit | f4947d79a7080b25829997eeee38d4d65137c161 (patch) | |
tree | c46589b14b524fc4b9502b2efd0fc136bb01bccd | |
parent | 2755551188d240f0098cdc6f1a2984f8a1785689 (diff) |
Input: synaptics - keep PS/2 around when RMI4_SMB is not enabled
Or the user might have the touchpad unbound from PS/2 but never picked
up by rmi-smbus.ko
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | drivers/input/mouse/synaptics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 4f97970abc94..9b27a6c710b2 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c | |||
@@ -1689,7 +1689,8 @@ enum { | |||
1689 | SYNAPTICS_INTERTOUCH_ON, | 1689 | SYNAPTICS_INTERTOUCH_ON, |
1690 | }; | 1690 | }; |
1691 | 1691 | ||
1692 | static int synaptics_intertouch = SYNAPTICS_INTERTOUCH_NOT_SET; | 1692 | static int synaptics_intertouch = IS_ENABLED(CONFIG_RMI4_SMB) ? |
1693 | SYNAPTICS_INTERTOUCH_NOT_SET : SYNAPTICS_INTERTOUCH_OFF; | ||
1693 | module_param_named(synaptics_intertouch, synaptics_intertouch, int, 0644); | 1694 | module_param_named(synaptics_intertouch, synaptics_intertouch, int, 0644); |
1694 | MODULE_PARM_DESC(synaptics_intertouch, "Use a secondary bus for the Synaptics device."); | 1695 | MODULE_PARM_DESC(synaptics_intertouch, "Use a secondary bus for the Synaptics device."); |
1695 | 1696 | ||