2018-07-16 11:38:00

by 廖崇榮

[permalink] [raw]
Subject: [PATCH] Input: elan_i2c - Add antoher ACPI ID for Lenovo Ideapad 330-15AST

Add ELAN0622 in ACPI mapping table to support Ideapad 330-15AST ELAN touchpad

Signed-off-by: KT Liao <[email protected]>
Reported-by: Anant Shende <[email protected]>
---
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 2690a4b..f7e75f0 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1344,6 +1344,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
{ "ELAN060B", 0 },
{ "ELAN060C", 0 },
{ "ELAN0611", 0 },
+ { "ELAN0622", 0 },
{ "ELAN1000", 0 },
{ }
};
--
2.7.4



2018-07-16 12:24:08

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH] Input: elan_i2c - Add antoher ACPI ID for Lenovo Ideapad 330-15AST

On Mon, Jul 16, 2018 at 07:26:29PM +0800, KT Liao wrote:
> Add ELAN0622 in ACPI mapping table to support Ideapad 330-15AST ELAN touchpad
>
> Signed-off-by: KT Liao <[email protected]>
> Reported-by: Anant Shende <[email protected]>

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 2690a4b..f7e75f0 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1344,6 +1344,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
> { "ELAN060B", 0 },
> { "ELAN060C", 0 },
> { "ELAN0611", 0 },
> + { "ELAN0622", 0 },
> { "ELAN1000", 0 },
> { }
> };
> --
> 2.7.4
>

--
Dmitry