Skip to contentSkip to conversation

Input: elantech - add new icbody type 15

PATCH Applied Aaron Ma 2 participants 2 messages Nov 19, 2017 – Nov 26, 2017

Subsystems (2)
lore
Share & tools
lore

Aaron Ma

author
#0 lore raw

PATCH 1/1 Input: elantech - add new icbody type 15

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

---
 drivers/input/mouse/elantech.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/mouse/elantech.c +1 -1
index b84cd978fce2..a4aaa748e987 100644
@@ -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:
Signature · 1 line
2.13.6
maintainer Applied
#1 lore raw
Quoted 4 lines · Aaron Ma

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

Applied, thank you.

Quoted 20 lines
---
 drivers/input/mouse/elantech.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/mouse/elantech.c +1 -1
index b84cd978fce2..a4aaa748e987 100644
@@ -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:
Signature · 1 line
2.13.6
Signature · 1 line
Dmitry