]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: elan_i2c - add ELAN0611 to the ACPI table
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 24 Oct 2017 18:08:18 +0000 (11:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Nov 2017 08:54:47 +0000 (09:54 +0100)
commit 57a95b41869b8f0d1949c24df2a9dac1ca7082ee upstream.

ELAN0611 touchpad uses elan_i2c as its driver. It can be found
on Lenovo ideapad 320-15IKB.

So add it to ACPI table to enable the touchpad.

[Ido Adiv <idoad123@gmail.com> reports that the same ACPI ID is used for
Elan touchpad in ideapad 520].

BugLink: https://bugs.launchpad.net/bugs/1723736
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/elan_i2c_core.c

index cfbc8ba4c96c7bedda89e1b79f8ee23b5cd36f47..a6b762271a40090a7fea0c6dc4ca9ecfbafffe0a 100644 (file)
@@ -1253,6 +1253,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
        { "ELAN0605", 0 },
        { "ELAN0609", 0 },
        { "ELAN060B", 0 },
+       { "ELAN0611", 0 },
        { "ELAN1000", 0 },
        { }
 };