]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
usb: phy: omap_usb_phy: fix build breakage
authorFelipe Balbi <balbi@ti.com>
Thu, 6 Nov 2014 14:28:45 +0000 (08:28 -0600)
committerTom Rini <trini@ti.com>
Thu, 4 Dec 2014 16:04:13 +0000 (11:04 -0500)
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>
drivers/usb/phy/omap_usb_phy.c

index f78d53296685e49b6c7b51cb950ba76385bdf501..52a3664b99ba43d862e57552c1d1db663a09c031 100644 (file)
@@ -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)