summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2012-07-30 21:32:05 +0530
committerSimone Willett <swillett@nvidia.com>2012-07-31 14:59:09 -0700
commit807b6ac9fe205ece24ba7b27935c6bb133573c36 (patch)
tree0ca562a23c9146f9d3c1762234464ccd76bb5373
parentca6091048ba1ac78a81e52444f9b408ba4103ba9 (diff)
ARM: tegra: cardhu: WAKE19 disable
We see repeated WAKE19 (VBUS) resumes when USB device cable is connected for E1186/E1187 cardhu boards. Hence, this change disables the WAKE19 to prevent the problem bug 1025421 Change-Id: If7ebf68ebf257a9bea58652042d77f0c19f40366 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-cardhu-power.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-power.c b/arch/arm/mach-tegra/board-cardhu-power.c
index ae355a3a5abd..4f96c5cc5d05 100644
--- a/arch/arm/mach-tegra/board-cardhu-power.c
+++ b/arch/arm/mach-tegra/board-cardhu-power.c
@@ -1161,25 +1161,30 @@ int __init cardhu_suspend_init(void)
if (board_info.fab == BOARD_FAB_A03)
cardhu_suspend_data.corereq_high = true;
if (board_info.fab < BOARD_FAB_A03)
- /* post E1291-A02 revisions WAKE19/USB1-VBUS wake supported */
+ /* post E1291-A02 revisions VBUS wake supported */
tegra_disable_wake_source(TEGRA_WAKE_USB1_VBUS);
break;
case BOARD_E1198:
if (board_info.fab < BOARD_FAB_A02)
- /* post E1198-A01 revisions WAKE19/USB1-VBUS wake supported */
+ /* post E1198-A01 revisions VBUS wake supported */
tegra_disable_wake_source(TEGRA_WAKE_USB1_VBUS);
break;
case BOARD_PM269:
case BOARD_PM305:
case BOARD_PM311:
break;
- case BOARD_E1187:
- case BOARD_E1186:
case BOARD_E1256:
case BOARD_E1257:
cardhu_suspend_data.cpu_timer = 5000;
cardhu_suspend_data.cpu_off_timer = 5000;
break;
+ case BOARD_E1187:
+ case BOARD_E1186:
+ /* VBUS repeated wakeup seen on older E1186 boards */
+ tegra_disable_wake_source(TEGRA_WAKE_USB1_VBUS);
+ cardhu_suspend_data.cpu_timer = 5000;
+ cardhu_suspend_data.cpu_off_timer = 5000;
+ break;
default:
break;
}