diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-04-19 11:38:46 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-04-19 11:38:46 +0000 |
commit | 025b5cf8bdea775b87a19b80c3a4c8e3b19beec9 (patch) | |
tree | a4ceeb440e0607a889a5403d4cff15b9664dbd56 /target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch | |
parent | 1da88fdb3e0344c56d40f7ad69ca153a289d9a27 (diff) | |
download | upstream-025b5cf8bdea775b87a19b80c3a4c8e3b19beec9.tar.gz upstream-025b5cf8bdea775b87a19b80c3a4c8e3b19beec9.tar.bz2 upstream-025b5cf8bdea775b87a19b80c3a4c8e3b19beec9.zip |
kernel: refresh generic patches
Refresh patches to remove the trailing whitespaces caused by an old
diffutils version on osx.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45506 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch')
-rw-r--r-- | target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch b/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch index 71a0cb20b0..9e841cb642 100644 --- a/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch +++ b/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch @@ -50,10 +50,7 @@ +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 @@ -62,7 +59,10 @@ +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 |