From 629b91fa046df5213ed3312d2e2b8683e6bdd70c Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 18 Dec 2014 05:43:43 +0100 Subject: apalis/colibri_t30: usb: fix low-speed issue hack Certain low-speed USB devices were not detected correctly when plugged into a running system. --- arch/arm/mach-tegra/tegra3_usb_phy.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-tegra/tegra3_usb_phy.c') 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) { -- cgit v1.2.3