diff options
author | ahcheng <ahcheng@nvidia.com> | 2012-02-20 20:01:16 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-04-30 15:17:23 -0700 |
commit | 9695a7dd7229acec3f5bdd5fc8dfb6ad1dd5a63d (patch) | |
tree | 15a33d1b27e9f177c2ea9ace487e635afc793724 /arch/arm/mach-tegra/usb_phy.c | |
parent | 3bcfb01a01faf8ecc3d1d1ca19eee98c33d39a25 (diff) |
usb: host: tegra: configure hotplug in usb phy driver
Properly configure USB_PHY_CLK_VALID_INT_ENB.
Bug 926787
Change-Id: I9c70ce4e35e5c3b841c6240cbb4ce1c9b9f2a8ff
Signed-off-by: ahcheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/84800
(cherry picked from commit 2eba70e75f6baa9e76bea309927b9841dd32bb9e)
Reviewed-on: http://git-master/r/98798
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/usb_phy.c')
-rw-r--r-- | arch/arm/mach-tegra/usb_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c index 13e97142fa7f..c3ce57a95574 100644 --- a/arch/arm/mach-tegra/usb_phy.c +++ b/arch/arm/mach-tegra/usb_phy.c @@ -859,7 +859,7 @@ static void utmi_phy_clk_disable(struct tegra_usb_phy *phy) val |= HOSTPC1_DEVLC_PHCD; writel(val, base + HOSTPC1_DEVLC); #endif - if (phy->instance == 2) { + if (phy->hotplug) { val = readl(base + USB_SUSP_CTRL); val |= USB_PHY_CLK_VALID_INT_ENB; writel(val, base + USB_SUSP_CTRL); |