Revert "usb: xhci-plat: check hcc_params after add hcd"
authorWilliam Wu <william.wu@rock-chips.com>
Wed, 21 Jun 2017 12:05:40 +0000 (20:05 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 22 Jun 2017 02:57:27 +0000 (10:57 +0800)
This reverts commit 4301c33db2829da207884f4c66bba798062db033.

Since we have merged upstream patch, so let's revert this patch.

Change-Id: I188629f566e50810bd633bff8cc63edda42efe28
Signed-off-by: William Wu <william.wu@rock-chips.com>
drivers/usb/host/xhci-plat.c

index f2173cc6ec1c9851e4739c48f04487439be71276..008def456f0a565dc22a2035569b9e7a45965b15 100644 (file)
@@ -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;