Skip to contentSkip to conversation

usb/dwc3: Fix the dwc3 dependency

PATCH Superseded joseph daniel 3 participants 4 messages May 11, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb/dwc3: Fix the dwc3 dependency

The warning shown up when ran with randconfig,

warning: (USB_DWC3) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT && USB_XHCI_HCD)

---
 drivers/usb/dwc3/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/Kconfig +1 -1
index d8f741f..68271fa 100644
@@ -1,6 +1,6 @@
 config USB_DWC3
 	tristate "DesignWare USB3 DRD Core Support"
-	depends on (USB && USB_GADGET)
+	depends on (USB && USB_SUPPORT && USB_XCHI_HCD && USB_GADGET)
 	select USB_OTG_UTILS
 	select USB_GADGET_DUALSPEED
 	select USB_GADGET_SUPERSPEED
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 14 lines · joseph daniel

The warning shown up when ran with randconfig,

warning: (USB_DWC3) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT && USB_XHCI_HCD)

---
 drivers/usb/dwc3/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/Kconfig +0 -0
index d8f741f..68271fa 100644

drivers/usb/dwc3/Kconfig line 3

Quoted 4 lines
drivers/usb/dwc3/Kconfig +1 -1
@@ -1,6 +1,6 @@
 config USB_DWC3
 	tristate "DesignWare USB3 DRD Core Support"
-	depends on (USB && USB_GADGET)
+	depends on (USB && USB_SUPPORT && USB_XCHI_HCD && USB_GADGET)
					      ^^^^
					      typo

I would prefer the select to change:

select XHCI_PLATFORM if (USB_SUPPORT && USB_XHCI_HCD)

or something similar.

Quoted 3 lines
drivers/usb/dwc3/Kconfig +0 -0
 	select USB_OTG_UTILS
 	select USB_GADGET_DUALSPEED
 	select USB_GADGET_SUPERSPEED
Signature · 1 line
balbi
#2 lore raw

Hi Felipe,

Quoted 22 lines · Felipe Balbi
Quoted 14 lines · joseph daniel

The warning shown up when ran with randconfig,

warning: (USB_DWC3) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT && USB_XHCI_HCD)

---
 drivers/usb/dwc3/Kconfig |    2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/Kconfig +0 -0
index d8f741f..68271fa 100644
@@ -1,6 +1,6 @@
Quoted 4 lines

 config USB_DWC3
      tristate "DesignWare USB3 DRD Core Support"
-     depends on (USB && USB_GADGET)
+     depends on (USB && USB_SUPPORT && USB_XCHI_HCD && USB_GADGET)

                                             ^^^^
                                             typo

Quoted 4 lines

I would prefer the select to change:

select XHCI_PLATFORM if (USB_SUPPORT && USB_XHCI_HCD)

will do this and send out a patch shotly.

Quoted 8 lines

or something similar.

Quoted 3 lines

      select USB_OTG_UTILS
      select USB_GADGET_DUALSPEED
      select USB_GADGET_SUPERSPEED

--
balbi

Thanks

#3 lore raw
In reply to joseph daniel

Hello.

Quoted 14 lines · joseph daniel

The warning shown up when ran with randconfig,

warning: (USB_DWC3) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT&& USB_XHCI_HCD)

---
  drivers/usb/dwc3/Kconfig |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/Kconfig +0 -0
index d8f741f..68271fa 100644

drivers/usb/dwc3/Kconfig line 3

Quoted 4 lines
drivers/usb/dwc3/Kconfig +1 -1
@@ -1,6 +1,6 @@
  config USB_DWC3
  	tristate "DesignWare USB3 DRD Core Support"
-	depends on (USB&&  USB_GADGET)
+	depends on (USB&&  USB_SUPPORT&&  USB_XCHI_HCD&&  USB_GADGET)

Parens not needed -- could as well get rid of them.

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html