mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user