davinci: power: We only have goodix screen's

Change-Id: Ifca047e768ff338f7d9432ca78bd75141583c272
This commit is contained in:
Arian 2020-10-10 14:49:11 +02:00
parent 91911144f8
commit d017391602
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

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