diff mbox

[04/11] usb: phy: omap_usb_phy: fix build breakage

Message ID 1415284132-6317-4-git-send-email-balbi@ti.com
State Accepted
Commit 7a294c5c0a048177d4f69b255988fdff59133ff8
Headers show

Commit Message

Felipe Balbi Nov. 6, 2014, 2:28 p.m. UTC
there's no such function usb3_phy_power(),
it's likely that author meant to call,
usb_phy_power() instead, but that's already
called properly from xhci-omap.c.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/usb/phy/omap_usb_phy.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Tom Rini Nov. 10, 2014, 6:47 p.m. UTC | #1
On Thu, Nov 06, 2014 at 08:28:45AM -0600, Felipe Balbi wrote:

> there's no such function usb3_phy_power(),
> it's likely that author meant to call,
> usb_phy_power() instead, but that's already
> called properly from xhci-omap.c.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>

Reviewed-by: Tom Rini <trini@ti.com>
diff mbox

Patch

diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c
index f78d532..52a3664 100644
--- a/drivers/usb/phy/omap_usb_phy.c
+++ b/drivers/usb/phy/omap_usb_phy.c
@@ -118,7 +118,6 @@  void usb_phy_power(int on)
 void omap_usb3_phy_init(struct omap_usb3_phy *phy_regs)
 {
 	omap_usb_dpll_lock(phy_regs);
-
 	usb3_phy_partial_powerup(phy_regs);
 	/*
 	 * Give enough time for the PHY to partially power-up before
@@ -126,7 +125,6 @@  void omap_usb3_phy_init(struct omap_usb3_phy *phy_regs)
 	 * team.
 	 */
 	mdelay(100);
-	usb3_phy_power(1);
 }
 
 static void omap_enable_usb3_phy(struct omap_xhci *omap)