]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.14.60/input-i8042-add-lenovo-lavie-z-to-the-i8042-reset-list.patch
Fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 4.14.60 / input-i8042-add-lenovo-lavie-z-to-the-i8042-reset-list.patch
CommitLineData
5b0b9568
GKH
1From 384cf4285b34e08917e3e66603382f2b0c4f6e1b Mon Sep 17 00:00:00 2001
2From: Chen-Yu Tsai <wens@csie.org>
3Date: Wed, 18 Jul 2018 17:24:35 +0000
4Subject: Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
5
6From: Chen-Yu Tsai <wens@csie.org>
7
8commit 384cf4285b34e08917e3e66603382f2b0c4f6e1b upstream.
9
10The Lenovo LaVie Z laptop requires i8042 to be reset in order to
11consistently detect its Elantech touchpad. The nomux and kbdreset
12quirks are not sufficient.
13
14It's possible the other LaVie Z models from NEC require this as well.
15
16Cc: stable@vger.kernel.org
17Signed-off-by: Chen-Yu Tsai <wens@csie.org>
18Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
19Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20
21---
22 drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
23 1 file changed, 7 insertions(+)
24
25--- a/drivers/input/serio/i8042-x86ia64io.h
26+++ b/drivers/input/serio/i8042-x86ia64io.h
27@@ -527,6 +527,13 @@ static const struct dmi_system_id __init
28 DMI_MATCH(DMI_PRODUCT_NAME, "N24_25BU"),
29 },
30 },
31+ {
32+ /* Lenovo LaVie Z */
33+ .matches = {
34+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
35+ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo LaVie Z"),
36+ },
37+ },
38 { }
39 };
40