projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efaa327
)
Input: goodix - add id->model mapping for the "9111" model
author
Hans de Goede
<hdegoede@redhat.com>
Tue, 7 Dec 2021 07:29:27 +0000
(23:29 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 29 Dec 2021 11:29:00 +0000
(12:29 +0100)
commit
81e818869be522bc8fa6f7df1b92d7e76537926c
upstream.
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>
Link:
https://lore.kernel.org/r/20211206164747.197309-2-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/touchscreen/goodix.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/goodix.c
b/drivers/input/touchscreen/goodix.c
index 4f53d3c57e6980c03b233707a2fce8e5d5f695a2..5051a1766aac6264c5a383e9d133a0ee579c359b 100644
(file)
--- 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 = >911_chip_data },
{ .id = "9271", .data = >911_chip_data },
{ .id = "9110", .data = >911_chip_data },
+ { .id = "9111", .data = >911_chip_data },
{ .id = "927", .data = >911_chip_data },
{ .id = "928", .data = >911_chip_data },