diff mbox series

[1/4] Input: goodix - Add id->model mapping for the "9111" model

Message ID 20211206164747.197309-2-hdegoede@redhat.com (mailing list archive)
State Accepted
Commit 81e818869be522bc8fa6f7df1b92d7e76537926c
Headers show
Series Input: goodix - pen support + misc patches | expand

Commit Message

Hans de Goede Dec. 6, 2021, 4:47 p.m. UTC
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 <hdegoede@redhat.com>
---
 drivers/input/touchscreen/goodix.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov Dec. 7, 2021, 7:29 a.m. UTC | #1
On Mon, Dec 06, 2021 at 05:47:44PM +0100, Hans de Goede wrote:
> 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 <hdegoede@redhat.com>

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index eaa659969097..aaa3c455e01e 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -102,6 +102,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 },