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:03:17 +0000 |
commit | b984c1dc70366f89ca9c1ee5ef187e119b8fd9ec (patch) | |
tree | 1020b6f02a770fc2ecb203c842e540edff93f7c9 | |
parent | 12a56decde1b5bd3f7b162551319af2368f27265 (diff) | |
download | goodix_touch-b984c1dc70366f89ca9c1ee5ef187e119b8fd9ec.tar.gz |
Revert "Revert "touch/goodix: Create goodix_ts procfs link for b..."
Revert submission 2446973
Reason for revert: Correct the mismatched heatmap position.
Reverted changes: /q/submissionid:2446973
Change-Id: I1b8ed51de949e329dec613fbe5a6cb97dfb4a0de
-rw-r--r-- | goodix_ts_core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c index e92fc5b..5da8560 100644 --- a/goodix_ts_core.c +++ b/goodix_ts_core.c @@ -1176,6 +1176,13 @@ static int goodix_ts_procfs_init(struct goodix_ts_core *core_data) goto err_create_driver; } + /* + * [GOOG] + * Create symlink `goodix_ts` to `goodix_ts.0` for backward compatibility. + */ + if (dev_id == 0) + proc_symlink("goodix_ts", NULL, proc_node); + return 0; err_create_driver: |