hikey/hikey960: init.common.usb.rc: Add setprop sys.usb.controller to avoid picking the dummy hcd

With some kernels that neable DUMMY_USB_HCD, we end up with
multiple UDC devices, and the system might pick the dummy one
to use which causes adb to fail.
This corrects this by setting the sys.usb.controller property
to the hikey/hikey960 controller name.

Test: adb connection works with android11-5.4 kernel for hikey/hikey960

Change-Id: Ife99b9b16204cfe767c8b755ec5208ce5047c211
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
4 files changed