From: William Wu Date: Wed, 21 Jun 2017 12:05:40 +0000 (+0800) Subject: Revert "usb: xhci-plat: check hcc_params after add hcd" X-Git-Tag: release-20171130_firefly~4^2~334 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93ed9f2f5d4b9e67c7097dbae4189a3110c78903;p=firefly-linux-kernel-4.4.55.git Revert "usb: xhci-plat: check hcc_params after add hcd" This reverts commit 4301c33db2829da207884f4c66bba798062db033. Since we have merged upstream patch, so let's revert this patch. Change-Id: I188629f566e50810bd633bff8cc63edda42efe28 Signed-off-by: William Wu --- diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index f2173cc6ec1c..008def456f0a 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -210,9 +210,6 @@ static int xhci_plat_probe(struct platform_device *pdev) if (ret) goto dealloc_usb2_hcd; - if (HCC_MAX_PSA(xhci->hcc_params) >= 4) - xhci->shared_hcd->can_do_streams = 1; - return 0;