[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
Related show

Commit Message

Aaron Ma Nov. 22, 2017, 5 a.m.
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. | #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. | #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>
>

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: