OSDN Git Service

Input: synaptics - enable SMBUS on T480 thinkpad trackpad
authorCole Rogers <colerogers@disroot.org>
Mon, 1 Jul 2019 07:47:48 +0000 (00:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 Jul 2019 08:22:21 +0000 (01:22 -0700)
commitabbe3acd7d72ab4633ade6bd24e8306b67e0add3
tree7ff365e24c3f7a09baa7d13b05615536553d1578
parent9843f3e08e2144724be7148e08d77a195dea257a
Input: synaptics - enable SMBUS on T480 thinkpad trackpad

Thinkpad t480 laptops had some touchpad features disabled, resulting in the
loss of pinch to activities in GNOME, on wayland, and other touch gestures
being slower. This patch adds the touchpad of the t480 to the smbus_pnp_ids
whitelist to enable the extra features. In my testing this does not break
suspend (on fedora, with wayland, and GNOME, using the rc-6 kernel), while
also fixing the feature on a T480.

Signed-off-by: Cole Rogers <colerogers@disroot.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c