hikey: Read UDC from /sys/class/udc/ at run time am: cb9d097082 am: c2abf400e5
am: 0cb49fd18c
Change-Id: Ia358c7bff07ecf07bf4503b2f9045faf2d0054af
diff --git a/init.common.usb.rc b/init.common.usb.rc
index de54dbd..ff3d807 100644
--- a/init.common.usb.rc
+++ b/init.common.usb.rc
@@ -24,7 +24,6 @@
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.controller "f72c0000.usb"
on property:sys.usb.config=none && property:sys.usb.configfs=1
write /config/usb_gadget/g1/os_desc/use 0