arm: tegra: usb_phy: Fix remote wakeup resume
authorAbhishek Shukla <abhisheks@nvidia.com>
Tue, 23 Oct 2012 11:09:36 +0000 (16:09 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 9 Nov 2012 22:35:38 +0000 (14:35 -0800)
commit74896910027cbc5b09d01d6e5c2c5ba46efe0cc2
tree88c5f7045751f79967dee3e0cbb73e73340aece3
parentf3df7b036f9d9e48b26862941ca518c209803f1d
arm: tegra: usb_phy: Fix remote wakeup resume

FPR bit was getting cleared before RUN bit
is getting set by ehci_bus_resume. If there
are prints in resume code before RUN  bit
is set, device can go to suspend state from
idle. To avoid this, setting RUN bit in
pre_resume after remote wakeup is detected.

Bug 1159691

Change-Id: I2c0a6348eb8df7eb5d668b5e6b9400f2f30a8b7a
Signed-off-by: Abhishek Shukla <abhisheks@nvidia.com>
Reviewed-on: http://git-master/r/146892
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/tegra11x_usb_phy.c