sm6225-common : power: Add NVTCapacitiveTouchScreen support

Change-Id: Ifd151f0642b495f80cc512d4fe19d1cfab97bcf8
This commit is contained in:
Rasenkai
2023-12-20 05:30:02 +00:00
committed by itsnouralawad
parent 1af535a408
commit 4b8def367d

View File

@@ -28,7 +28,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)
if (strcmp(name, "fts_ts") == 0 || strcmp(name, "NVTCapacitiveTouchScreen") == 0)
break;
}