diff options
author | Super Liu <supercjliu@google.com> | 2023-04-06 05:19:59 +0000 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2023-04-06 08:02:46 +0000 |
commit | 0901ad0c9a51d8aff09f1d31c7abac21d6217344 (patch) | |
tree | 52fed00a684045cd8a80ee717c49bbd85c6482d7 /goodix_ts_core.c | |
parent | 2ac4885ede24a3da9a142f4a04eeda368476a871 (diff) | |
download | goodix_touch-0901ad0c9a51d8aff09f1d31c7abac21d6217344.tar.gz |
Revert^2 "touch/goodix: Refine the udfps DTS as option"
e131a616fda4f4e901f1d3c732bebeb20c03958c
Change-Id: I270f075295da79f57d3a0fcdb69a1db933d0655e
Diffstat (limited to 'goodix_ts_core.c')
-rw-r--r-- | goodix_ts_core.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c index e37f54f..4ffc2fc 100644 --- a/goodix_ts_core.c +++ b/goodix_ts_core.c @@ -1368,16 +1368,12 @@ static int goodix_parse_dt( } r = of_property_read_u32(node, "goodix,udfps-x", &board_data->udfps_x); - if (r) { - ts_err("failed to get udfps-x"); - return r; - } + if (r) + ts_info("undefined udfps-x(optional)!"); r = of_property_read_u32(node, "goodix,udfps-y", &board_data->udfps_y); - if (r) { - ts_err("failed to get udfps-y"); - return r; - } + if (r) + ts_info("undefined udfps-y(optional)!"); /* get sleep mode flag */ board_data->sleep_enable = |