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

Change-Id: I272a4bc896e3c383c0e484f340960e4dffd0c371
This commit is contained in:
Sebastiano Barezzi
2021-06-19 11:54:00 +02:00
committed by Ramii Ahmed
parent 1beb846064
commit 12080a982e

View File

@@ -113,7 +113,8 @@ InputFFDevice::InputFFDevice()
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");
close(fd);
continue;