diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2012-08-24 20:46:18 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-08-31 11:49:40 +0200 |
commit | 85b8614d722389202af298e1bf8a599c431fef19 (patch) | |
tree | 45eeda8dbd200d26dd044dab4417292e3d687c92 /drivers/usb/dwc3/Kconfig | |
parent | usb: gadget: s3c2410_udc: Do not use integer for NULL (diff) | |
download | linux-85b8614d722389202af298e1bf8a599c431fef19.tar.xz linux-85b8614d722389202af298e1bf8a599c431fef19.zip |
usb: gadget: get rid of USB_GADGET_{DUAL,SUPER}SPEED
This commit removes USB_GADGET_DUALSPEED and USB_GADGET_SUPERSPEED
Kconfig options. Since now kernel allows many UDC drivers to be
compiled, those options may turn to no longer be valid. For
instance, if someone decides to build UDC that supports super
speed and UDC that supports high speed only, the latter will be
"assumed" to support super speed since USB_GADGET_SUPERSPEED will
be selected by the former.
The test of whether CONFIG_USB_GADGET_*SPEED was defined was just
an optimisation which removed otherwise dead code (ie. if UDC is
not dual speed, there is no need to handle cases that can happen
if speed is high). This commit removes those checks.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/Kconfig')
-rw-r--r-- | drivers/usb/dwc3/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index d13c60f42139..f6a6e070c2ac 100644 --- a/drivers/usb/dwc3/Kconfig +++ b/drivers/usb/dwc3/Kconfig @@ -2,8 +2,6 @@ config USB_DWC3 tristate "DesignWare USB3 DRD Core Support" depends on (USB && USB_GADGET) select USB_OTG_UTILS - select USB_GADGET_DUALSPEED - select USB_GADGET_SUPERSPEED select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD help Say Y or M here if your system has a Dual Role SuperSpeed |