From: Aaron Ma Date: Sun, 26 Nov 2017 00:48:41 +0000 (-0800) Subject: Input: elantech - add new icbody type 15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2df832f7aa68dd1cf454d6fa165f1c61a3cd04e5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: elantech - add new icbody type 15 commit 10d900303f1c3a821eb0bef4e7b7ece16768fba4 upstream. The touchpad of Lenovo Thinkpad L480 reports it's version as 15. Signed-off-by: Aaron Ma Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index b84cd978fce2..a4aaa748e987 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: