summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorVinayak Pane <vpane@nvidia.com>2011-12-08 21:38:51 -0800
committerVarun Colbert <vcolbert@nvidia.com>2012-01-19 16:16:18 -0800
commit24f020cec2e6c3328620ad0c43e171c59f648370 (patch)
treecadc48b7ba445902ae2aacb1271921013d34632e /drivers/usb
parentac6e437face1760362fa97ee8a1b486dc63d6914 (diff)
arm: tegra: usb: Use T30 specific hsic bus reset
HSIC bus reset apparently needs a WAR. The ehci generic port reset is not enough for modem to connect in stress tests. Instead use pull-down pull-up on Strobe signal of USB HSIC bus. This is AP30 specific workaround. Bug 898008 Bug 912850 Bug 922444 Change-Id: I4f542d0398b05c388f6fa7e08477b65877dc705c Reviewed-on: http://git-master/r/73266 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/75879 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-tegra.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 1ae272c44714..308fb315e4b0 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -357,13 +357,8 @@ static int tegra_ehci_hub_control(
}
/* Handle port reset here */
-#ifdef CONFIG_ARCH_TEGRA_2x_SOC
if ((hsic) && (typeReq == SetPortFeature) &&
((wValue == USB_PORT_FEAT_RESET) || (wValue == USB_PORT_FEAT_POWER))) {
-#else
- if ((hsic) && (typeReq == SetPortFeature) &&
- (wValue == USB_PORT_FEAT_POWER)) {
-#endif
selector = wIndex >> 8;
wIndex &= 0xff;
if (!wIndex || wIndex > ports) {
@@ -378,7 +373,6 @@ static int tegra_ehci_hub_control(
temp &= ~PORT_RWC_BITS;
switch (wValue) {
-#ifdef CONFIG_ARCH_TEGRA_2x_SOC
case USB_PORT_FEAT_RESET:
{
if (temp & PORT_RESUME) {
@@ -409,7 +403,6 @@ static int tegra_ehci_hub_control(
break;
}
-#endif
case USB_PORT_FEAT_POWER:
{
if (HCS_PPC(ehci->hcs_params))