diff options
author | Steve Lin <stlin@nvidia.com> | 2011-09-19 14:04:44 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2011-09-22 17:42:54 -0700 |
commit | 8b10a6e8bd36758769905b49e538c60083f1b49c (patch) | |
tree | b863c9c0cda0fcf768e3e1a9516016fcb6cd8219 | |
parent | 0beea798107fbe276568c3d67a3857f359ff5f53 (diff) |
usb: ehci: tegra: Adding tegra_ehci_pre_reset function
Adding tegra_ehci_pre_reset function before call ehci_reset.
Bug 863224
Change-Id: I73bfb1739e71a2554e8016d0bd81f70bc2ec19fd
Reviewed-on: http://git-master/r/53258
Reviewed-by: Steve Lin <stlin@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index a7c0cc1c1a2d..2e84ee1e9f7c 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -362,6 +362,7 @@ static void tegra_ehci_restart(struct usb_hcd *hcd) unsigned int temp; ehci->controller_resets_phy = 0; + tegra_ehci_pre_reset(tegra->phy, false); ehci_reset(ehci); tegra_ehci_post_reset(tegra->phy, false); @@ -613,6 +614,7 @@ static int tegra_ehci_setup(struct usb_hcd *hcd) ehci->sbrn = 0x20; if (tegra->phy->usb_phy_type == TEGRA_USB_PHY_TYPE_NULL_ULPI) { + tegra_ehci_pre_reset(tegra->phy, false); ehci_reset(ehci); tegra_ehci_post_reset(tegra->phy, false); |