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

Signed-off-by: Marek Vasut <ma...@denx.de>
---
 package/kernel/linux/modules/usb.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/usb.mk 
b/package/kernel/linux/modules/usb.mk
index 8c5a2ab..b41880b 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -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
-- 
2.7.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to