]> git.itanic.dy.fi Git - linux-stable/commit
Input: elantech - enable middle button of touchpads on ThinkPad P52
authorAaron Ma <aaron.ma@canonical.com>
Fri, 22 Jun 2018 00:14:01 +0000 (17:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 09:23:17 +0000 (11:23 +0200)
commit465e965f64358fdeeb35287bd7a6dc06b261fb7b
tree46092c42c8305b7b538616cfa75b521e205219e7
parent54ae564b35423f25b763bc9e01b489d9f11c034e
Input: elantech - enable middle button of touchpads on ThinkPad P52

commit 24bb555e6e46d96e2a954aa0295029a81cc9bbaa upstream.

PNPID is better way to identify the type of touchpads.
Enable middle button support on 2 types of touchpads on Lenovo P52.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/elantech.c