]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.8.5/input-elantech-add-fujitsu-lifebook-e556-to-force-crc_enabled.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.8.5 / input-elantech-add-fujitsu-lifebook-e556-to-force-crc_enabled.patch
CommitLineData
677c3905
GKH
1From 62837b3c1a95535d1a287c9c8c6563bbd8d37033 Mon Sep 17 00:00:00 2001
2From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
3Date: Wed, 5 Oct 2016 22:49:30 -0700
4Subject: Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled
5
6From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
7
8commit 62837b3c1a95535d1a287c9c8c6563bbd8d37033 upstream.
9
10Another Lifebook machine that needs the same quirk as other similar
11models to make the driver working.
12
13Also let's reorder elantech_dmi_force_crc_enabled list so LIfebook enries
14are in alphabetical order.
15
16Reported-by: William Linna <william.linna@gmail.com>
17Tested-by: William Linna <william.linna@gmail.com>
18Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
19Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
20Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21
22---
23 drivers/input/mouse/elantech.c | 11 +++++++++--
24 1 file changed, 9 insertions(+), 2 deletions(-)
25
26--- a/drivers/input/mouse/elantech.c
27+++ b/drivers/input/mouse/elantech.c
28@@ -1517,6 +1517,13 @@ static const struct dmi_system_id elante
29 },
30 },
31 {
32+ /* Fujitsu LIFEBOOK E544 does not work with crc_enabled == 0 */
33+ .matches = {
34+ DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
35+ DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
36+ },
37+ },
38+ {
39 /* Fujitsu LIFEBOOK E554 does not work with crc_enabled == 0 */
40 .matches = {
41 DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
42@@ -1524,10 +1531,10 @@ static const struct dmi_system_id elante
43 },
44 },
45 {
46- /* Fujitsu LIFEBOOK E544 does not work with crc_enabled == 0 */
47+ /* Fujitsu LIFEBOOK E556 does not work with crc_enabled == 0 */
48 .matches = {
49 DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
50- DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
51+ DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E556"),
52 },
53 },
54 {