On Tue, Aug 16, 2022 at 02:31:07AM +0200, Adam Borowski wrote: > Hi! > With CONFIG_USB=n CONFIG_USB_GADGET=y I get the following fail: > > ld: drivers/usb/dwc3/dwc3-qcom.o: in function `dwc3_qcom_suspend': > dwc3-qcom.c:(.text+0x3d4): undefined reference to `usb_hub_find_child' > > I tried writing a patch but I don't know how much code applies to host > mode only -- and whether the device supports gadget at all. Thus, I'm > just reporting instead. > > Broken in 6895ea55c385c9afdd2aec1eef27ec24917a112f. Thanks, this has been discussed a bunch on the linux-usb list and should be resolved soon. greg k-h