diff mbox series

[1/1] Input: elantech - add new icbody type 15

Message ID 20171122050042.27001-2-aaron.ma@canonical.com
State New
Headers show
Series Add new ictype of elantech touchpad on Lenovo | expand

Commit Message

Aaron Ma Nov. 22, 2017, 5 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1733605

The touchpad of Lenovo Thinkpad L480 reports it's version as 15.

Link: https://patchwork.kernel.org/patch/10065519/

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
---
 drivers/input/mouse/elantech.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Po-Hsu Lin Nov. 22, 2017, 9 a.m. UTC | #1
Do we need this for the Bionic kernel?

Since there is already a positive test result, thus
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Aaron Ma Nov. 22, 2017, 2:48 p.m. UTC | #2
Yes, Bionic needs this patch too, thanks for reminder.

Aaron

On 11/22/2017 05:00 PM, Po-Hsu Lin wrote:
> Do we need this for the Bionic kernel?
> 
> Since there is already a positive test result, thus
> Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
>
Stefan Bader Feb. 16, 2018, 2:48 p.m. UTC | #3
On 22.11.2017 06:00, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/1733605
> 
> The touchpad of Lenovo Thinkpad L480 reports it's version as 15.
> 
> Link: https://patchwork.kernel.org/patch/10065519/
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
> ---
>  drivers/input/mouse/elantech.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
> index 6f4dc0fd2ca3..51b96e9bf793 100644
> --- a/drivers/input/mouse/elantech.c
> +++ b/drivers/input/mouse/elantech.c
> @@ -1613,7 +1613,7 @@ static int elantech_set_properties(struct elantech_data *etd)
>  		case 5:
>  			etd->hw_version = 3;
>  			break;
> -		case 6 ... 14:
> +		case 6 ... 15:
>  			etd->hw_version = 4;
>  			break;
>  		default:
> 
Applied to Xenial and Artful master-next-backlog (modified to be a cherry-pick
of 10d900303f1c3a821eb0bef4e7b7ece16768fba4 upstream which is 4,15). Bionic will
include this once moving to 4.15.
diff mbox series

Patch

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 6f4dc0fd2ca3..51b96e9bf793 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1613,7 +1613,7 @@  static int elantech_set_properties(struct elantech_data *etd)
 		case 5:
 			etd->hw_version = 3;
 			break;
-		case 6 ... 14:
+		case 6 ... 15:
 			etd->hw_version = 4;
 			break;
 		default: