Input: mouse: elan_i2c_core: Added support for ELAN0621 touchpad.
diff mbox series

Message ID 20181129173824.7980-1-adam@adamwong.me
State Accepted
Headers show
Series
  • Input: mouse: elan_i2c_core: Added support for ELAN0621 touchpad.
Related show

Commit Message

adam@adamwong.me Nov. 29, 2018, 5:38 p.m. UTC
From: Adam Wong <adam@adamwong.me>

Added the ability to detect the ELAN0621 touchpad found in some Lenovo
laptops.

Signed-off-by: Adam Wong <adam@adamwong.me>
---
 drivers/input/mouse/elan_i2c_core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov Nov. 29, 2018, 6:06 p.m. UTC | #1
On Thu, Nov 29, 2018 at 12:38:24PM -0500, adam@adamwong.me wrote:
> From: Adam Wong <adam@adamwong.me>
> 
> Added the ability to detect the ELAN0621 touchpad found in some Lenovo
> laptops.
> 
> Signed-off-by: Adam Wong <adam@adamwong.me>

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 b0f9d19b3410..a84362d0c99d 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1348,6 +1348,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN0618", 0 },
>  	{ "ELAN061C", 0 },
>  	{ "ELAN061D", 0 },
> +	{ "ELAN0621", 0 },
>  	{ "ELAN0622", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
> -- 
> 2.17.1
>

Patch
diff mbox series

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index b0f9d19b3410..a84362d0c99d 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1348,6 +1348,7 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN0618", 0 },
 	{ "ELAN061C", 0 },
 	{ "ELAN061D", 0 },
+	{ "ELAN0621", 0 },
 	{ "ELAN0622", 0 },
 	{ "ELAN1000", 0 },
 	{ }