]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:21:34 +0000 (11:21 +0200)
commitcbbc45663511a98be09bc9ba353589e3b5d4d0ea
tree0d901053cb7e5bfcf12d06200ebc579ae269c64d
parentdefacc88b5c42176d273e7390cd5aca58e7b888e
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