diff options
-rw-r--r-- | arch/arm/mach-tegra/usb_phy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c index 371f5f72dd0f..93310b9f3abd 100644 --- a/arch/arm/mach-tegra/usb_phy.c +++ b/arch/arm/mach-tegra/usb_phy.c @@ -1224,7 +1224,8 @@ void tegra_usb_phy_power_off(struct tegra_usb_phy *phy, bool is_dpd) } else utmi_phy_power_off(phy, is_dpd); - if (phy->regulator_on && (tegra_get_revision() >= TEGRA_REVISION_A03)) { + if (phy->regulator_on && (tegra_get_revision() >= TEGRA_REVISION_A03) + && is_dpd) { regulator_disable(phy->reg_vdd); phy->regulator_on = 0; } |