Skip to contentSkip to conversation

build failure due to drivers/usb/dwc3/dwc3-qcom.c

DISCUSSION Adam Borowski 2 participants 2 messages Aug 16, 2022 USB

lore
Share & tools
lore
#0 lore raw

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.

Meow!

Signature · 4 lines
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋⠀ You're alive.  But that's just a phase.
⠈⠳⣄⠀⠀⠀⠀
#1 lore raw
Quoted 11 lines · Adam Borowski

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