sm8350-common: vibrator: add support for aw8697_haptic input device

This commit is contained in:
Cosmin Tanislav 2021-09-05 15:18:35 +03:00
parent 67fe0e2f57
commit 5f91e23723
2 changed files with 3 additions and 1 deletions

View File

@ -108,7 +108,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, "aw8697_haptic")) {
ALOGD("not a qcom/qti haptics device\n");
close(fd);
continue;

View File

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