diff mbox series

[1/1,SRU,X/Z] Input: elan_i2c - add ELAN0608 to the ACPI table

Message ID 20170901080428.7278-2-kai.heng.feng@canonical.com
State New
Headers show
Series Enable touchpad for Lenovo ideapad 320-14IKB | expand

Commit Message

Kai-Heng Feng Sept. 1, 2017, 8:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1708852

Similar to commit 722c5ac708b4f ("Input: elan_i2c - add ELAN0605 to the
ACPI table"), ELAN0608 should be handled by elan_i2c.

This touchpad can be found in Lenovo ideapad 320-14IKB.

BugLink: https://bugs.launchpad.net/bugs/1708852

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
(cherry picked from commit 1874064eed0502bd9bef7be8023757b0c4f26883)
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

Colin Ian King Sept. 5, 2017, 9:32 a.m. UTC | #1
On 01/09/17 09:04, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1708852
> 
> Similar to commit 722c5ac708b4f ("Input: elan_i2c - add ELAN0605 to the
> ACPI table"), ELAN0608 should be handled by elan_i2c.
> 
> This touchpad can be found in Lenovo ideapad 320-14IKB.
> 
> BugLink: https://bugs.launchpad.net/bugs/1708852
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> (cherry picked from commit 1874064eed0502bd9bef7be8023757b0c4f26883)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.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 a26f44c28d82..36bbf1728bbb 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1234,6 +1234,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN0100", 0 },
>  	{ "ELAN0600", 0 },
>  	{ "ELAN0605", 0 },
> +	{ "ELAN0608", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
> 

Clean cherry pick, adds functionality to one limited set of hardware,
looks good to me.

Acked-by: Colin Ian King <colin.king@canonical.com>
Stefan Bader Sept. 15, 2017, 12:28 p.m. UTC | #2
On 01.09.2017 10:04, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1708852
> 
> Similar to commit 722c5ac708b4f ("Input: elan_i2c - add ELAN0605 to the
> ACPI table"), ELAN0608 should be handled by elan_i2c.
> 
> This touchpad can be found in Lenovo ideapad 320-14IKB.
> 
> BugLink: https://bugs.launchpad.net/bugs/1708852
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> (cherry picked from commit 1874064eed0502bd9bef7be8023757b0c4f26883)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.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 a26f44c28d82..36bbf1728bbb 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1234,6 +1234,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN0100", 0 },
>  	{ "ELAN0600", 0 },
>  	{ "ELAN0605", 0 },
> +	{ "ELAN0608", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
>
diff mbox series

Patch

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index a26f44c28d82..36bbf1728bbb 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1234,6 +1234,7 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN0100", 0 },
 	{ "ELAN0600", 0 },
 	{ "ELAN0605", 0 },
+	{ "ELAN0608", 0 },
 	{ "ELAN1000", 0 },
 	{ }
 };