[v2] Input: elan_i2c - add ELAN0618 (Lenovo v330 15IKB) ACPI ID
diff mbox

Message ID 872b1a27-daa8-8e10-ddec-010ea67056c2@saltedge.com
State Accepted
Headers show

Commit Message

Alexandr Savca June 20, 2018, 7:41 a.m. UTC
Add ELAN0618 to the list of supported touchpads; this ID is used in
Lenovo v330 15IKB devices.

Signed-off-by: Alexandr Savca <alexandr.savca@saltedge.com>
---
 drivers/input/mouse/elan_i2c_core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov June 22, 2018, 12:13 a.m. UTC | #1
On Wed, Jun 20, 2018 at 10:41:42AM +0300, Alexandr Savca wrote:
> Add ELAN0618 to the list of supported touchpads; this ID is used in
> Lenovo v330 15IKB devices.
> 
> Signed-off-by: Alexandr Savca <alexandr.savca@saltedge.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 8ff75114e762..f69d21610166 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1345,6 +1345,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN060C", 0 },
>  	{ "ELAN0611", 0 },
>  	{ "ELAN0612", 0 },
> +	{ "ELAN0618", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
> -- 
> 2.17.1

Patch
diff mbox

diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 8ff75114e762..f69d21610166 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1345,6 +1345,7 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN060C", 0 },
 	{ "ELAN0611", 0 },
 	{ "ELAN0612", 0 },
+	{ "ELAN0618", 0 },
 	{ "ELAN1000", 0 },
 	{ }
 };