]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: elantech - support new ICs types for version 4
authorSam hung <sam.hung@emc.com.tw>
Thu, 8 Jan 2015 21:22:43 +0000 (13:22 -0800)
committerLuis Henriques <luis.henriques@canonical.com>
Wed, 4 Feb 2015 10:57:15 +0000 (10:57 +0000)
commit 810aa0918b2b032684c8cad13f73d6ba37ad11c0 upstream.

This change allows the driver to recognize newer Elantech touchpads.

Signed-off-by: Yi ju Hong <sam.hung@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/input/mouse/elantech.c

index 0ec186d256fbbd02193ad20d8da9d28140c73bf0..e66780e359628b62ed6f500b712151ca6cd42541 100644 (file)
@@ -1397,6 +1397,8 @@ static int elantech_set_properties(struct elantech_data *etd)
                case 7:
                case 8:
                case 9:
+               case 10:
+               case 13:
                        etd->hw_version = 4;
                        break;
                default: