package: kernel: modules: Enable Dual-Role support for DWC2 USB
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:51:52 +0000 (22:51 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:51:52 +0000 (22:51 +0000)
Enable configuration option which allows DWC2 USB OTG core
to operate in Dual-Role mode.

Signed-off-by: Marek Vasut <marex@denx.de>
SVN-Revision: 49364

package/kernel/linux/modules/usb.mk

index 8c5a2ab..b41880b 100644 (file)
@@ -488,6 +488,7 @@ define KernelPackage/usb-dwc2
        CONFIG_USB_DWC2_VERBOSE=n \
        CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \
        CONFIG_USB_DWC2_DEBUG_PERIODIC=n
+       CONFIG_USB_DWC2_DUAL_ROLE=y
   FILES:= \
        $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \
        $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko@lt4.3