sm8350-common: vibrator: Add support to aw8624_haptic node

Change-Id: Iff112c8ffa4462cfc30d06252b9cb5912f06f99a
This commit is contained in:
ItsVixano 2022-02-06 16:20:46 +01:00 committed by Arian
parent 5ae87ffe5c
commit 9f4b8dbac2
2 changed files with 3 additions and 1 deletions

View File

@ -112,7 +112,8 @@ InputFFDevice::InputFFDevice()
} }
if (strcmp(name, "qcom-hv-haptics") && strcmp(name, "qti-haptics") if (strcmp(name, "qcom-hv-haptics") && strcmp(name, "qti-haptics")
&& strcmp(name, "aw8697_haptic")) { && strcmp(name, "aw8697_haptic")
&& 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;

View File

@ -29,4 +29,5 @@
<device name="qti-haptics"/> <device name="qti-haptics"/>
<device name="qcom-hv-haptics"/> <device name="qcom-hv-haptics"/>
<device name="aw8697_haptic"/> <device name="aw8697_haptic"/>
<device name="aw8624_haptic"/>
</devices> </devices>