Re: [PATCH v1 02/10] xue: reset XHCI ports when initializing dbc

2022-06-15 Thread Jan Beulich
On 07.06.2022 16:30, Marek Marczykowski-Górecki wrote: > Reset ports, to force host system to re-enumerate devices. Otheriwse it > will require the cable to be re-plugged, or will wait in the > "configuring" state indefinitely. > > Trick and code copied from Linux: > drivers/usb/early/xhci-dbc.c:x

[PATCH v1 02/10] xue: reset XHCI ports when initializing dbc

2022-06-07 Thread Marek Marczykowski-Górecki
Reset ports, to force host system to re-enumerate devices. Otheriwse it will require the cable to be re-plugged, or will wait in the "configuring" state indefinitely. Trick and code copied from Linux: drivers/usb/early/xhci-dbc.c:xdbc_start()->xdbc_reset_debug_port() Signed-off-by: Marek Marczyko