X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fehci-rockchip.c;h=2169c7d5e5b89d3eb6c4029c1c88df8666347e2e;hp=35ededf9a0b0936bd8509944bf26e09d0a12ed39;hb=05b29f94a4ab4f37071025b0c235516c2616bce6;hpb=b7574401ec571097859d39b9b1bc9f369609f955 diff --git a/drivers/usb/host/ehci-rockchip.c b/drivers/usb/host/ehci-rockchip.c index 35ededf9a0b0..2169c7d5e5b8 100755 --- a/drivers/usb/host/ehci-rockchip.c +++ b/drivers/usb/host/ehci-rockchip.c @@ -371,25 +371,14 @@ static int ehci_rk_probe(struct platform_device *pdev) rk_ehci->ehci = ehci; rk_ehci->pldata = pldata; - rk_ehci->host_enabled = 2; - rk_ehci->host_setenable = 2; + rk_ehci->host_enabled = -1; + rk_ehci->host_setenable = -1; rk_ehci->connect_detect_timer.function = rk_ehci_hcd_connect_detect; rk_ehci->connect_detect_timer.data = (unsigned long)(rk_ehci); init_timer(&rk_ehci->connect_detect_timer); mod_timer(&rk_ehci->connect_detect_timer, jiffies + (HZ << 1)); INIT_DELAYED_WORK(&rk_ehci->host_enable_work, rk_ehci_hcd_enable); - if (pldata->phy_suspend) { - if (pldata->phy_status == USB_PHY_ENABLED) { - pldata->phy_suspend(pldata, USB_PHY_SUSPEND); - /* do not disable EHCI clk, otherwise RK3288 - * host1(DWC_OTG) can't work normally. - * udelay(3); - * pldata->clock_enable(pldata, 0); - */ - } - } - EHCI_PRINT("%s ok\n", __func__); return 0;