From 24fbcb1c9fd1b55e686ec77af880f223c8187021 Mon Sep 17 00:00:00 2001 From: Tommy Webb Date: Thu, 21 Mar 2024 16:45:50 +0000 Subject: [PATCH] sm6225-common: Specify vendor.usb.controller Specify this so that USB can be properly brought back online via HAL. It was already specified in these locations: - device/motorola/sm6225-common/rootdir/etc/init.target.rc But this apparently isn't early enough in the boot process. - vendor/qcom/opensource/usb/vendor_product.mk But this apparently isn't included and doesn't take effect. As a result, vendor/qcom/opensource/usb/hal/Usb.cpp would use its fallback value of a600000.dwc3, which is not correct. Issue: calyxos#2154 Change-Id: I3f10cb8d902281b3cd06e8c2b51bdf60bb57742e --- vendor.prop | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor.prop b/vendor.prop index 44b76fb..9f43737 100644 --- a/vendor.prop +++ b/vendor.prop @@ -224,6 +224,7 @@ ro.vendor.sensors.mot_ltv=true ro.vendor.sensors.pug=false # USB +vendor.usb.controller=4e00000.dwc3 vendor.usb.device=4e00000.ssusb vendor.usb.diag.func.name=diag vendor.usb.dpl.inst.name=dpl