From: Aaron Ma Date: Tue, 18 Sep 2018 16:32:22 +0000 (-0700) Subject: Input: elantech - enable middle button of touchpad on ThinkPad P72 X-Git-Tag: v4.14.74~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3011b91478ffa64cae02bf08dffbd8efb328458a;p=thirdparty%2Fkernel%2Fstable.git Input: elantech - enable middle button of touchpad on ThinkPad P72 commit 91a97507323e1ad4bfc10f4a5922e67cdaf8b3cd upstream. Adding 2 new touchpad IDs to support middle button support. Cc: stable@vger.kernel.org Signed-off-by: Aaron Ma Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index a250f433eb968..84c69e962230b 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -1180,6 +1180,8 @@ static const struct dmi_system_id elantech_dmi_has_middle_button[] = { static const char * const middle_button_pnp_ids[] = { "LEN2131", /* ThinkPad P52 w/ NFC */ "LEN2132", /* ThinkPad P52 */ + "LEN2133", /* ThinkPad P72 w/ NFC */ + "LEN2134", /* ThinkPad P72 */ NULL };