From: "Chai, Chong Yi" <chong.yi.c...@intel.com>

Since only USB device controller is integrated, there are warnings on terminal.
The change is to enable only device role and thus eliminate the warnings.
Below is the error message shown on terminal.

[   89.421700] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   89.421844] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned
bus number 3
[   89.469712] xhci-hcd xhci-hcd.3.auto: Host not halted after 16000
microseconds.
[   89.469717] xhci-hcd xhci-hcd.3.auto: can't setup: -110
[   89.475652] xhci-hcd xhci-hcd.3.auto: USB bus 3 deregistered
[   89.476316] xhci-hcd: probe of xhci-hcd.3.auto failed with error -110

Signed-off-by: Chai, Chong Yi <chong.yi.c...@intel.com>
---
 bsp/leafhill/leafhill.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsp/leafhill/leafhill.cfg b/bsp/leafhill/leafhill.cfg
index 5fb6051..759e3e5 100644
--- a/bsp/leafhill/leafhill.cfg
+++ b/bsp/leafhill/leafhill.cfg
@@ -107,8 +107,8 @@ CONFIG_HW_RANDOM_TPM=m
 # Enable dual role support
 CONFIG_USB_DWC3=m
 # CONFIG_USB_DWC3_HOST is not set
-# CONFIG_USB_DWC3_GADGET is not set
-CONFIG_USB_DWC3_DUAL_ROLE=y
+CONFIG_USB_DWC3_GADGET=y
+# CONFIG_USB_DWC3_DUAL_ROLE is not set
 
 CONFIG_USB_EG20T=m
 CONFIG_USB_XHCI_PLATFORM=m
-- 
1.9.1

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to