From 44d6df2d37432e20e7b985669d684d610f8d38e5 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Fri, 17 Dec 2010 17:25:12 -0800 Subject: [PATCH] ARM: tegra: usb_phy: Use utmi_phy_preresume for usb1 too This prevents disconnects on resume. Change-Id: I16a9e826df0d6c992e0e4480d38badba6cc9dfec Signed-off-by: Benoit Goby --- arch/arm/mach-tegra/usb_phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c index 26605d9c2c0f..f0d1ec803cfa 100644 --- a/arch/arm/mach-tegra/usb_phy.c +++ b/arch/arm/mach-tegra/usb_phy.c @@ -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; } -- 2.34.1