projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c706cd5
)
ARM: tegra: usb_phy: Disable HS disconnect detect for USB2 port
author
Nathan Connell
<w14185@motorola.com>
Thu, 18 Nov 2010 17:12:37 +0000
(11:12 -0600)
committer
Benoit Goby
<benoit@android.com>
Thu, 18 Nov 2010 23:37:25 +0000
(15:37 -0800)
Signed-off-by: Nathan Connell <w14185@motorola.com>
Change-Id: Ia0c24128af0f1def38d0902b15a274582c302ce2
arch/arm/mach-tegra/usb_phy.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-tegra/usb_phy.c
b/arch/arm/mach-tegra/usb_phy.c
index ce9d4275ef774359ed8de74b340b9b557bbad2ee..dffabc3ec063c2950db5b90f2f443a59c1100a7c 100644
(file)
--- a/
arch/arm/mach-tegra/usb_phy.c
+++ b/
arch/arm/mach-tegra/usb_phy.c
@@
-114,6
+114,7
@@
#define UTMIP_TX_CFG0 0x820
#define UTMIP_FS_PREABMLE_J (1 << 19)
+#define UTMIP_HS_DISCON_DISABLE (1 << 8)
#define UTMIP_MISC_CFG0 0x824
#define UTMIP_SUSPEND_EXIT_ON_EDGE (1 << 22)
@@
-346,6
+347,8
@@
static void utmi_phy_power_on(struct tegra_usb_phy *phy)
val = readl(base + UTMIP_TX_CFG0);
val &= ~UTMIP_FS_PREABMLE_J;
+ if (phy->instance == 2)
+ val |= UTMIP_HS_DISCON_DISABLE;
writel(val, base + UTMIP_TX_CFG0);
val = readl(base + UTMIP_HSRX_CFG0);