diff mbox series

elan_i2c: add a device ID

Message ID gixrY6XDEONoQGT6Vva7PWKHtiTdswvtRxl7sbqzuagf17enaoZlto2eb80oW1A3TXrp32MlAGzXup_n-NvhQ1XYi17XqQYO4duir3QVKq4=@hashbangbash.com (mailing list archive)
State Mainlined
Commit e154ab69321ce2c54f19863d75c77b4e2dc9d365
Headers show
Series elan_i2c: add a device ID | expand

Commit Message

Vincent Batts Feb. 28, 2019, 1:46 p.m. UTC
Empty Message
From 9bac6de001f40d8c10549b182a47ee36f067c626 Mon Sep 17 00:00:00 2001
From: Vincent Batts <vbatts@hashbangbash.com>
Date: Mon, 25 Feb 2019 10:37:49 -0500
Subject: [PATCH] elan_i2c: add id for touchpad

the Lenovo s21e-20 laptop ships with the ELAN0601 id

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
---
 drivers/input/mouse/elan_i2c_core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Vincent Batts Feb. 28, 2019, 1:47 p.m. UTC | #1
Empty Message
Dmitry Torokhov March 4, 2019, 7:33 a.m. UTC | #2
On Thu, Feb 28, 2019 at 01:46:36PM +0000, Vincent Batts wrote:
> From 9bac6de001f40d8c10549b182a47ee36f067c626 Mon Sep 17 00:00:00 2001
> From: Vincent Batts <vbatts@hashbangbash.com>
> Date: Mon, 25 Feb 2019 10:37:49 -0500
> Subject: [PATCH] elan_i2c: add id for touchpad
> 
> the Lenovo s21e-20 laptop ships with the ELAN0601 id
> 
> Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
> ---
>  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 225ae6980182..628ef617bb2f 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1337,6 +1337,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN0000", 0 },
>  	{ "ELAN0100", 0 },
>  	{ "ELAN0600", 0 },
> +	{ "ELAN0601", 0 },

KT, any objections?

Thanks.
廖崇榮 March 4, 2019, 7:56 a.m. UTC | #3
Hi Dmitry,

-----Original Message-----
From: Dmitry Torokhov [mailto:dmitry.torokhov@gmail.com] 
Sent: Monday, March 04, 2019 3:33 PM
To: Vincent Batts
Cc: linux-input@vger.kernel.org; kt.liao@emc.com.tw
Subject: Re: elan_i2c: add a device ID

On Thu, Feb 28, 2019 at 01:46:36PM +0000, Vincent Batts wrote:
> From 9bac6de001f40d8c10549b182a47ee36f067c626 Mon Sep 17 00:00:00 2001
> From: Vincent Batts <vbatts@hashbangbash.com>
> Date: Mon, 25 Feb 2019 10:37:49 -0500
> Subject: [PATCH] elan_i2c: add id for touchpad
> 
> the Lenovo s21e-20 laptop ships with the ELAN0601 id
> 
> Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
> ---
>  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 225ae6980182..628ef617bb2f 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1337,6 +1337,7 @@ static const struct acpi_device_id elan_acpi_id[] =
{
>  	{ "ELAN0000", 0 },
>  	{ "ELAN0100", 0 },
>  	{ "ELAN0600", 0 },
> +	{ "ELAN0601", 0 },

Yes, this ID should be added in eln_i2c
BTW, I have asked our PM/FW to collect all ELAN06xx which should be added in
elan_i2c for Lenovo NB.
And I will upstream ASAP.

Thanks
KT

KT, any objections?

Thanks.
Vincent Batts March 4, 2019, 1:31 p.m. UTC | #4
Empty Message
diff mbox series

Patch

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index 225ae6980182..628ef617bb2f 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1337,6 +1337,7 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN0000", 0 },
 	{ "ELAN0100", 0 },
 	{ "ELAN0600", 0 },
+	{ "ELAN0601", 0 },
 	{ "ELAN0602", 0 },
 	{ "ELAN0605", 0 },
 	{ "ELAN0608", 0 },