From 831d645c5aaf38c535866973e7ab0a52cead2c92 Mon Sep 17 00:00:00 2001 From: Sebaubuntu Date: Sun, 27 Jun 2021 11:14:15 +0200 Subject: [PATCH] sm7250-common: vibrator: Add aw8624_haptic to FF haptic devices check Signed-off-by: xSylla --- vibrator/Vibrator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vibrator/Vibrator.cpp b/vibrator/Vibrator.cpp index 4ce86e7..4da7df2 100644 --- a/vibrator/Vibrator.cpp +++ b/vibrator/Vibrator.cpp @@ -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;