diff options
author | Jing Wang <jwangh@google.com> | 2023-04-01 03:21:20 +0000 |
---|---|---|
committer | Jing Wang <jwangh@google.com> | 2023-04-01 04:24:17 +0000 |
commit | e131a616fda4f4e901f1d3c732bebeb20c03958c (patch) | |
tree | fb4ead784b6e81480be636b262b77a8d463e8fd7 | |
parent | aba4bd0c4e5647c22d79479c98d424becf6c4512 (diff) | |
download | goodix_touch-e131a616fda4f4e901f1d3c732bebeb20c03958c.tar.gz |
Revert "touch/goodix: Refine the udfps DTS as option"
Revert submission 2421158-ct3_touch_bringup
Reason for revert: b/276521272
Reverted changes: /q/submissionid:2421158-ct3_touch_bringup
Change-Id: I6d411a31eec75c9ad31835f5a5df50c6f547f9fb
-rw-r--r-- | goodix_ts_core.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c index 8dd3246..494c998 100644 --- a/goodix_ts_core.c +++ b/goodix_ts_core.c @@ -1368,12 +1368,16 @@ static int goodix_parse_dt( } r = of_property_read_u32(node, "goodix,udfps-x", &board_data->udfps_x); - if (r) - ts_info("undefined udfps-x(optional)!"); + if (r) { + ts_err("failed to get udfps-x"); + return r; + } r = of_property_read_u32(node, "goodix,udfps-y", &board_data->udfps_y); - if (r) - ts_info("undefined udfps-y(optional)!"); + if (r) { + ts_err("failed to get udfps-y"); + return r; + } /* get sleep mode flag */ board_data->sleep_enable = |