Revert "usb: ehci-platform: support no relinquishing port quirk"
authorFrank Wang <frank.wang@rock-chips.com>
Wed, 29 Mar 2017 10:03:07 +0000 (18:03 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 30 Mar 2017 11:59:37 +0000 (19:59 +0800)
This reverts commit 0fd1853df055.

We found this commit just work well for HS devices, however,
ehci_hub_control will set port owner to companion according line
status bits when FS/LS device is plugged in, so revert this one
and introduce a new workaround.

Change-Id: Ifa856620672191c845abc53a76370cd5bf4097dc
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
drivers/usb/host/ehci-platform.c

index 77bca46edb86acf3aea6205724da1e19f6d13b9e..6f69798e3452589c328f98db986d58d675a04a02 100644 (file)
@@ -202,10 +202,6 @@ static int ehci_platform_probe(struct platform_device *dev)
                                          "has-transaction-translator"))
                        hcd->has_tt = 1;
 
                                          "has-transaction-translator"))
                        hcd->has_tt = 1;
 
-               if (of_property_read_bool(dev->dev.of_node,
-                                         "no-relinquish-port"))
-                       ehci_platform_hc_driver.relinquish_port = NULL;
-
                priv->num_phys = of_count_phandle_with_args(dev->dev.of_node,
                                "phys", "#phy-cells");
 
                priv->num_phys = of_count_phandle_with_args(dev->dev.of_node,
                                "phys", "#phy-cells");