ARM: tegra: usb_phy: Use utmi_phy_preresume for usb1 too

This prevents disconnects on resume.

Change-Id: I16a9e826df0d6c992e0e4480d38badba6cc9dfec
Signed-off-by: Benoit Goby <benoit@android.com>
This commit is contained in:
Benoit Goby
2010-12-17 17:25:12 -08:00
parent b104a07edb
commit 44d6df2d37

View File

@@ -692,14 +692,14 @@ int tegra_usb_phy_power_off(struct tegra_usb_phy *phy)
int tegra_usb_phy_preresume(struct tegra_usb_phy *phy)
{
if (phy->instance == 2)
if (phy->instance != 1)
utmi_phy_preresume(phy);
return 0;
}
int tegra_usb_phy_postresume(struct tegra_usb_phy *phy)
{
if (phy->instance == 2)
if (phy->instance != 1)
utmi_phy_postresume(phy);
return 0;
}