package: kernel: modules: Enable Dual-Role support for DWC2 USB
package: kernel: modules: Enable Dual-Role support for DWC2 USB

Enable configuration option which allows DWC2 USB OTG core
to operate in Dual-Role mode.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49364 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -488,6 +488,7 @@
 	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

comments