ARM: tegra: usb: disable pmc after disabling vbus
[linux-2.6.git] / arch / arm / mach-tegra / usb_phy.c
index 82a568a..67de225 100644 (file)
@@ -813,3 +813,10 @@ fail_inval:
        return ERR_PTR(err);
 }
 EXPORT_SYMBOL_GPL(tegra_usb_phy_open);
+
+void tegra_usb_phy_pmc_disable(struct tegra_usb_phy *phy)
+{
+       if (phy->ops && phy->ops->pmc_disable)
+               phy->ops->pmc_disable(phy);
+}
+EXPORT_SYMBOL_GPL(tegra_usb_phy_pmc_disable);