Re: linux-next: Tree for Dec 9 (usb/cdns3)

From: Randy Dunlap
Date: Wed Dec 09 2020 - 19:59:32 EST


On 12/9/20 2:44 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20201208:
>

(I don't know what to do about this one -- seeking help.)


on x86_64:

ld: drivers/usb/cdns3/host.o: in function `xhci_cdns3_suspend_quirk':
host.c:(.text+0x9): undefined reference to `usb_hcd_is_primary_hcd'

This reference to 'usb_hdc_is_primary_hcd' is from hcd_to_xhci(),
which is being built as a loadable module:

int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd)
{
struct xhci_hcd *xhci = hcd_to_xhci(hcd);




CONFIG_USB_GADGET=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
# CONFIG_USB_CONN_GPIO is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=m

CONFIG_USB_CDNS_SUPPORT=y
CONFIG_USB_CDNS_HOST=y
CONFIG_USB_CDNS3=m
CONFIG_USB_CDNS3_GADGET=y
CONFIG_USB_CDNS3_HOST=y

Problem is mostly that CONFIG_USB=m and CONFIG_USB_GADGET=y.


Full randconfig file is attached.


thanks.
--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Attachment: config-r6651.xz
Description: application/xz