diff mbox

Input: elan_i2c - add ELAN0611 to the ACPI table

Message ID 20171019171252.15365-1-kai.heng.feng@canonical.com
State Accepted
Headers show

Commit Message

Kai-Heng Feng Oct. 19, 2017, 5:12 p.m. UTC
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.

BugLink: https://bugs.launchpad.net/bugs/1723736
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/input/mouse/elan_i2c_core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov Oct. 24, 2017, 6:10 p.m. UTC | #1
On Fri, Oct 20, 2017 at 01:12:52AM +0800, Kai-Heng Feng wrote:
> 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.
> 
> BugLink: https://bugs.launchpad.net/bugs/1723736
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Applied, thank you.

> ---
>  drivers/input/mouse/elan_i2c_core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index 0e761d079dc4..6d6b092e2da9 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1258,6 +1258,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN0605", 0 },
>  	{ "ELAN0609", 0 },
>  	{ "ELAN060B", 0 },
> +	{ "ELAN0611", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
> -- 
> 2.14.1
>
Dmitry Torokhov Oct. 24, 2017, 6:12 p.m. UTC | #2
On Fri, Oct 20, 2017 at 01:12:52AM +0800, Kai-Heng Feng wrote:
> 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.
> 
> BugLink: https://bugs.launchpad.net/bugs/1723736
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Applied, thank you.

> ---
>  drivers/input/mouse/elan_i2c_core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index 0e761d079dc4..6d6b092e2da9 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1258,6 +1258,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN0605", 0 },
>  	{ "ELAN0609", 0 },
>  	{ "ELAN060B", 0 },
> +	{ "ELAN0611", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
> -- 
> 2.14.1
>
diff mbox

Patch

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index 0e761d079dc4..6d6b092e2da9 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1258,6 +1258,7 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN0605", 0 },
 	{ "ELAN0609", 0 },
 	{ "ELAN060B", 0 },
+	{ "ELAN0611", 0 },
 	{ "ELAN1000", 0 },
 	{ }
 };