[SRU,Xenial,Artful,Bionic,1/1] UBUNTU: SAUCE: Input: elan_i2c - add ELAN0612 to the ACPI table

Message ID bd6f55e211b6de9981f7d3b9e16ae475dbb9e266.1527617072.git.joseph.salisbury@canonical.com
State New
Headers show
Series
  • UBUNTU: SAUCE: Input: elan_i2c - add ELAN0612 to the ACPI table
Related show

Commit Message

Joseph Salisbury June 1, 2018, 4:21 p.m.
From: Johannes Wienke <languitar@semipol.de>

BugLink: http://bugs.launchpad.net/bugs/1773509

ELAN0612 touchpad uses elan_i2c as its driver.  ELAN0612 is being included in
newer laptops, so add it to ACPI table to enable the touchpad.

Signed-off-by: Johannes Wienke <languitar@semipol.de>
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
---
 drivers/input/mouse/elan_i2c_core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Juerg Haefliger June 5, 2018, 7:02 a.m. | #1
On 06/01/2018 06:21 PM, Joseph Salisbury wrote:
> From: Johannes Wienke <languitar@semipol.de>
> 
> BugLink: http://bugs.launchpad.net/bugs/1773509
> 
> ELAN0612 touchpad uses elan_i2c as its driver.  ELAN0612 is being included in
> newer laptops, so add it to ACPI table to enable the touchpad.
> 
> Signed-off-by: Johannes Wienke <languitar@semipol.de>
> Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>

Acked-by: Juerg Haefliger <juergh@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 2111a85..423f7fe 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -1263,6 +1263,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN060B", 0 },
>  	{ "ELAN060C", 0 },
>  	{ "ELAN0611", 0 },
> +	{ "ELAN0612", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
>
Po-Hsu Lin June 5, 2018, 7:23 a.m. | #2
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

Patch

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index 2111a85..423f7fe 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1263,6 +1263,7 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN060B", 0 },
 	{ "ELAN060C", 0 },
 	{ "ELAN0611", 0 },
+	{ "ELAN0612", 0 },
 	{ "ELAN1000", 0 },
 	{ }
 };