# \[PATCH AUTOSEL 5.15 07/26\] Input: goodix - add id-\>model mapping for the "9111" model

- Subsystems: GOODIX TOUCHSCREEN, INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN) DRIVERS, THE REST
- Maintainers: Hans de Goede, Dmitry Torokhov, Linus Torvalds
- List: linux-input
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-input/2021/12/1619548/t

## \[PATCH AUTOSEL 5.15 07/26\] Input: goodix - add id-\>model mapping for the "9111" model

- From: Sasha Levin \<sashal@kernel.org\>
- Date: 2021-12-27 19:04:29 
- Message: https://ratatoskr.run/linux-input/2021/12/1619548.md

```text
From: Hans de Goede <redacted>

[ Upstream commit 81e818869be522bc8fa6f7df1b92d7e76537926c ]

Add d->model mapping for the "9111" model, this fixes uses using
a wrong config_len of 240 bytes while the "9111" model uses
only 186 bytes of config.

Signed-off-by: Hans de Goede <redacted>
Link: https://lore.kernel.org/r/20211206164747.197309-2-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/input/touchscreen/goodix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index 4f53d3c57e698..5051a1766aac6 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -162,6 +162,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = {
 	{ .id = "911", .data = &gt911_chip_data },
 	{ .id = "9271", .data = &gt911_chip_data },
 	{ .id = "9110", .data = &gt911_chip_data },
+	{ .id = "9111", .data = &gt911_chip_data },
 	{ .id = "927", .data = &gt911_chip_data },
 	{ .id = "928", .data = &gt911_chip_data },
 
-- 
2.34.1

```
