ramips: fix cd-poll sd card remove randomly
[openwrt/openwrt.git] / target / linux / generic / patches-3.18 / 821-usb-dwc2-dualrole.patch
index 71a0cb20b068dd282ba0489705aa18661b46d702..9e841cb6426534b5ab1c300ac819e366f8837b4e 100644 (file)
 +config USB_DWC2_PERIPHERAL
 +      bool "Gadget only mode"
 +      depends on USB_GADGET=y || USB_GADGET=USB_DWC2
-       help
--        The Designware USB2.0 platform interface module for
--        controllers directly connected to the CPU. This is only
--        used for host mode.
++      help
 +        The Designware USB2.0 high-speed gadget controller
 +        integrated into many SoCs. Select this option if you want the
 +        driver to operate in Peripheral-only mode. This option requires
 +config USB_DWC2_DUAL_ROLE
 +      bool "Dual Role mode"
 +      depends on (USB=y || USB=USB_DWC2) && (USB_GADGET=y || USB_GADGET=USB_DWC2)
-+      help
+       help
+-        The Designware USB2.0 platform interface module for
+-        controllers directly connected to the CPU. This is only
+-        used for host mode.
 +        Select this option if you want the driver to work in a dual-role
 +        mode. In this mode both host and gadget features are enabled, and
 +        the role will be determined by the cable that gets plugged-in. This