sm8350-common: vibrator: Add support to awinic_haptic node

Change-Id: Ie9c417de8a03a143b410e83e0caedb3700bcc668
This commit is contained in:
TheStrechh 2023-11-21 01:26:30 +05:30 committed by Arian
parent 0b9d19951a
commit b730d27c62
2 changed files with 3 additions and 1 deletions

View File

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

View File

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