From: Frank Wang Date: Wed, 29 Mar 2017 10:03:07 +0000 (+0800) Subject: Revert "usb: ehci-platform: support no relinquishing port quirk" X-Git-Tag: firefly_0821_release~187 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=commitdiff_plain;h=e3b77467de4a6e595a0f6de1ee29eb5c217d36b7 Revert "usb: ehci-platform: support no relinquishing port quirk" 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 --- diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 77bca46edb86..6f69798e3452 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -202,10 +202,6 @@ static int ehci_platform_probe(struct platform_device *dev) "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");