usb/dwc3: Fix the dwc3 dependency
Subsystems (2)
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
@@ -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
Quoted 14 lines · joseph daniel
The warning shown up when ran with randconfig,
warning: (
USB_DWC3) selectsUSB_XHCI_PLATFORMwhich has unmet direct dependencies (USB_SUPPORT&&USB_XHCI_HCD)Signed-off-by joseph daniel <[email protected]>--- drivers/usb/dwc3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/dwc3/Kconfig +0
-0
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
-0select USB_OTG_UTILS select USB_GADGET_DUALSPEED select USB_GADGET_SUPERSPEED
Signature · 1 line
balbi
Hi Felipe,
Quoted 22 lines · Felipe Balbi
Quoted 14 lines · joseph daniel
The warning shown up when ran with randconfig,
warning: (
USB_DWC3) selectsUSB_XHCI_PLATFORMwhich has unmet direct dependencies (USB_SUPPORT&&USB_XHCI_HCD)Signed-off-by joseph daniel <[email protected]>---
drivers/usb/dwc3/Kconfig | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/dwc3/Kconfig +0
-0@@ -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_PLATFORMif (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
selectUSB_GADGET_DUALSPEED
selectUSB_GADGET_SUPERSPEED--
balbi
Thanks
Hello.
Quoted 14 lines · joseph daniel
The warning shown up when ran with randconfig,
warning: (
USB_DWC3) selectsUSB_XHCI_PLATFORMwhich has unmet direct dependencies (USB_SUPPORT&&USB_XHCI_HCD)Signed-off-by joseph daniel<[email protected]>--- drivers/usb/dwc3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/dwc3/Kconfig +0
-0
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