sm8350-common: vibrator: Add support to aw8624_haptic node
Change-Id: Iff112c8ffa4462cfc30d06252b9cb5912f06f99a
This commit is contained in:
parent
5ae87ffe5c
commit
9f4b8dbac2
@ -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;
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user