1
0
Fork 0

MLK-24368-2 usb: cdns3: host: indicate controller has stream capability

Indicate the controller has stream capability, it is useful for UAS
device.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peter Chen 2020-07-03 17:24:38 +08:00
parent ee96e9f815
commit 101f22317f
No known key found for this signature in database
GPG Key ID: 4859298150D671BB
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ static int cdns3_host_start(struct cdns3 *cdns)
if (ret)
goto err4;
if (HCC_MAX_PSA(xhci->hcc_params) >= 4)
xhci->shared_hcd->can_do_streams = 1;
ret = usb_add_hcd(xhci->shared_hcd, 0, IRQF_SHARED);
if (ret)
goto err5;