summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_usb_phy.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-12-18 05:43:43 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-12-18 05:43:43 +0100
commit629b91fa046df5213ed3312d2e2b8683e6bdd70c (patch)
tree49452c488fabe6e551dfff856a267cf486aaad76 /arch/arm/mach-tegra/tegra3_usb_phy.c
parent18d5f4a85d71d7921e9b121aeefb9c12c888d781 (diff)
apalis/colibri_t30: usb: fix low-speed issue hack
Certain low-speed USB devices were not detected correctly when plugged into a running system.
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_usb_phy.c')
-rw-r--r--arch/arm/mach-tegra/tegra3_usb_phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra3_usb_phy.c b/arch/arm/mach-tegra/tegra3_usb_phy.c
index 66637f29b19c..0ab61758addd 100644
--- a/arch/arm/mach-tegra/tegra3_usb_phy.c
+++ b/arch/arm/mach-tegra/tegra3_usb_phy.c
@@ -755,6 +755,9 @@ bool utmi_phy_remotewake_detected(struct tegra_usb_phy *phy)
unsigned int inst = phy->inst;
u32 val;
+ /* Hack: avoid system lock-up condition upon device hot-plugging */
+ mdelay(4);
+
DBG("%s(%d) inst:[%d]\n", __func__, __LINE__, phy->inst);
val = readl(base + UTMIP_PMC_WAKEUP0);
if (val & EVENT_INT_ENB) {