Add aio_compat to hikey
Work around a crash in hikey-4.9 with aio.
This way the aio patchset is unblocked while
this crash is investigated.
Bug: 37916658
Test: use adb with hikey
Change-Id: I040c6124791f8045775f009e0980fbcdec610fa4
diff --git a/init.common.usb.rc b/init.common.usb.rc
index 7351f8d..f85d59a 100644
--- a/init.common.usb.rc
+++ b/init.common.usb.rc
@@ -24,6 +24,7 @@
symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
setprop sys.usb.configfs 1
+ setprop sys.usb.ffs.aio_compat 1
on property:sys.usb.config=none && property:sys.usb.configfs=1
write /config/usb_gadget/g1/os_desc/use 0