]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.18-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Jan 2018 08:37:20 +0000 (09:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Jan 2018 08:37:20 +0000 (09:37 +0100)
added patches:
input-elantech-add-new-icbody-type-15.patch

queue-3.18/input-elantech-add-new-icbody-type-15.patch [new file with mode: 0644]
queue-3.18/series

diff --git a/queue-3.18/input-elantech-add-new-icbody-type-15.patch b/queue-3.18/input-elantech-add-new-icbody-type-15.patch
new file mode 100644 (file)
index 0000000..af6f4ae
--- /dev/null
@@ -0,0 +1,30 @@
+From 10d900303f1c3a821eb0bef4e7b7ece16768fba4 Mon Sep 17 00:00:00 2001
+From: Aaron Ma <aaron.ma@canonical.com>
+Date: Sat, 25 Nov 2017 16:48:41 -0800
+Subject: Input: elantech - add new icbody type 15
+
+From: Aaron Ma <aaron.ma@canonical.com>
+
+commit 10d900303f1c3a821eb0bef4e7b7ece16768fba4 upstream.
+
+The touchpad of Lenovo Thinkpad L480 reports it's version as 15.
+
+Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/input/mouse/elantech.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/input/mouse/elantech.c
++++ b/drivers/input/mouse/elantech.c
+@@ -1558,7 +1558,7 @@ static int elantech_set_properties(struc
+               case 5:
+                       etd->hw_version = 3;
+                       break;
+-              case 6 ... 14:
++              case 6 ... 15:
+                       etd->hw_version = 4;
+                       break;
+               default:
index e9e6528d08d18877eb0b7df611eaeaa1eccc3f32..ddb17cd5a99fcbc8aefaacdbf121c2b61408119a 100644 (file)
@@ -4,3 +4,4 @@ fscache-fix-the-default-for-fscache_maybe_release_page.patch
 kernel-signal.c-protect-the-traced-signal_unkillable-tasks-from-sigkill.patch
 kernel-signal.c-protect-the-signal_unkillable-tasks-from-sig_kernel_only-signals.patch
 kernel-signal.c-remove-the-no-longer-needed-signal_unkillable-check-in-complete_signal.patch
+input-elantech-add-new-icbody-type-15.patch