sm6150-common: power: Add fts support

Change-Id: I1d767578a9092176dbdb18026189ed4aad621a3e
This commit is contained in:
Arian 2021-03-22 23:25:57 +01:00
parent 65dda5f875
commit 1e2660e5f3
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -37,7 +37,7 @@ int open_ts_input() {
fd = open(absolute_path, O_RDWR);
if (ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) > 0) {
if (strcmp(name, "goodix_ts") == 0)
if (strcmp(name, "fts") == 0 || strcmp(name, "goodix_ts") == 0)
break;
}