sm7250-common: vibrator: Add aw8624_haptic to FF haptic devices check

Signed-off-by: xSylla <syllamodder@gmail.com>
This commit is contained in:
Sebaubuntu 2021-06-27 11:14:15 +02:00 committed by xSylla
parent 104f3d6f68
commit 831d645c5a

View File

@ -113,7 +113,8 @@ InputFFDevice::InputFFDevice()
continue; continue;
} }
if (strcmp(name, "qcom-hv-haptics") && strcmp(name, "qti-haptics")) { if (strcmp(name, "qcom-hv-haptics") && strcmp(name, "qti-haptics") &&
strcmp(name, "aw8624_haptic")) {
ALOGD("not a qcom/qti haptics device\n"); ALOGD("not a qcom/qti haptics device\n");
close(fd); close(fd);
continue; continue;