[PATCH] Avoid delay when initializing USB peripherals by dwc2

2021-03-17 Thread João Loureiro
When `usb start` is called, the dwc2 driver will try to start every USB device as host first, even if it is explicitly configured as peripheral in the device tree, as the documentation explains (`dr_mode = "peripheral"`). So to avoid an unwanted 15 seconds delay when initializing the usb (one seco

Re: [PATCH] Avoid delay when initializing USB peripherals by dwc2

2021-03-17 Thread Marek Vasut
On 3/17/21 2:24 PM, João Loureiro wrote: When `usb start` is called, the dwc2 driver will try to start every USB device as host first, even if it is explicitly configured as peripheral in the device tree, as the documentation explains (`dr_mode = "peripheral"`). So to avoid an unwanted 15 second