]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - 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
1 From 384cf4285b34e08917e3e66603382f2b0c4f6e1b Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Wed, 18 Jul 2018 17:24:35 +0000
4 Subject: Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
5
6 From: Chen-Yu Tsai <wens@csie.org>
7
8 commit 384cf4285b34e08917e3e66603382f2b0c4f6e1b upstream.
9
10 The Lenovo LaVie Z laptop requires i8042 to be reset in order to
11 consistently detect its Elantech touchpad. The nomux and kbdreset
12 quirks are not sufficient.
13
14 It's possible the other LaVie Z models from NEC require this as well.
15
16 Cc: stable@vger.kernel.org
17 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
18 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
19 Signed-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