From: Felipe Balbi <balbi@ti.com>
Date: Mon, 23 Jun 2014 21:25:38 +0000 (-0500)
Subject: usb: host: xhci: make sure to power up PHY
X-Git-Tag: v2025.01-rc5-pxa1908~15056
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=26707d9e6bb0d2e5e6de706cd68bddcea34e731f;p=u-boot.git

usb: host: xhci: make sure to power up PHY

some boards won't work if the PHY isn't explicitly
powered up.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---

diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index e667810bb3..912b2bd8d5 100644
--- a/drivers/usb/host/xhci-omap.c
+++ b/drivers/usb/host/xhci-omap.c
@@ -98,6 +98,7 @@ static int omap_xhci_core_init(struct omap_xhci *omap)
 {
 	int ret = 0;
 
+	usb_phy_power(1);
 	omap_enable_phy(omap);
 
 	ret = dwc3_core_init(omap->dwc3_reg);