diff options
author | Wendly Li <wendlyli@google.com> | 2022-09-15 08:18:54 +0000 |
---|---|---|
committer | Wendly Li <wendlyli@google.com> | 2022-09-19 05:38:40 +0000 |
commit | 525312d16cd434b32db5ee696bfe916a36af2a9e (patch) | |
tree | fe6170994b9ddde51a0f7d1c753c77a09f123f1b /goodix_ts_core.c | |
parent | bed4e986cdf55167dd60e03852d59e693f67e47e (diff) | |
download | goodix_touch-525312d16cd434b32db5ee696bfe916a36af2a9e.tar.gz |
touch/goodix: Fix can't find correct display panel
Bug: 245261386
Test: Check the driver updates the correct fw and cfg
Change-Id: I881da0102a6b44b047db28e5e9d1699f4ebef1ec
Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.c')
-rw-r--r-- | goodix_ts_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c index 9463ec2..147b6db 100644 --- a/goodix_ts_core.c +++ b/goodix_ts_core.c @@ -1345,7 +1345,7 @@ static int goodix_parse_dt( if (of_property_read_bool(node, "goodix,panel_map")) { for (index = 0;; index++) { r = of_parse_phandle_with_fixed_args( - node, "goodix,panel_map", 0, index, &panelmap); + node, "goodix,panel_map", 1, index, &panelmap); if (r) return -EPROBE_DEFER; panel = of_drm_find_panel(panelmap.np); |