提交 5a355852 编写于 作者: H Hans de Goede 提交者: Zheng Zengkai

Input: goodix - add id->model mapping for the "9111" model

stable inclusion
from stable-v5.10.89
commit c7282790c782f5216c50b6b83b815f03c48e73ad
bugzilla: 186140 https://gitee.com/openeuler/kernel/issues/I4S8HA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c7282790c782f5216c50b6b83b815f03c48e73ad

--------------------------------

commit 81e81886 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: NHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211206164747.197309-2-hdegoede@redhat.comSigned-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 c997cf65
...@@ -162,6 +162,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = { ...@@ -162,6 +162,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = {
{ .id = "911", .data = &gt911_chip_data }, { .id = "911", .data = &gt911_chip_data },
{ .id = "9271", .data = &gt911_chip_data }, { .id = "9271", .data = &gt911_chip_data },
{ .id = "9110", .data = &gt911_chip_data }, { .id = "9110", .data = &gt911_chip_data },
{ .id = "9111", .data = &gt911_chip_data },
{ .id = "927", .data = &gt911_chip_data }, { .id = "927", .data = &gt911_chip_data },
{ .id = "928", .data = &gt911_chip_data }, { .id = "928", .data = &gt911_chip_data },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册