diff options
Diffstat (limited to 'arch/arm/mach-tegra')
-rwxr-xr-x[-rw-r--r--] | arch/arm/mach-tegra/board-ventana-power.c | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | arch/arm/mach-tegra/board-ventana-sdhci.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-power.c b/arch/arm/mach-tegra/board-ventana-power.c index d56ac998a385..e90775410b3c 100644..100755 --- a/arch/arm/mach-tegra/board-ventana-power.c +++ b/arch/arm/mach-tegra/board-ventana-power.c @@ -183,9 +183,9 @@ static struct tegra_suspend_platform_data ventana_suspend_data = { .separate_req = true, .corereq_high = false, .sysclkreq_high = true, - .wake_enb = TEGRA_WAKE_GPIO_PV2 | TEGRA_WAKE_GPIO_PC7, + .wake_enb = TEGRA_WAKE_GPIO_PV2 | TEGRA_WAKE_GPIO_PC7 | TEGRA_WAKE_GPIO_PY6, .wake_high = 0, - .wake_low = TEGRA_WAKE_GPIO_PV2, + .wake_low = TEGRA_WAKE_GPIO_PV2 | TEGRA_WAKE_GPIO_PY6, .wake_any = TEGRA_WAKE_GPIO_PC7, }; diff --git a/arch/arm/mach-tegra/board-ventana-sdhci.c b/arch/arm/mach-tegra/board-ventana-sdhci.c index 7dc76f6111cc..9eb7a71306e1 100644..100755 --- a/arch/arm/mach-tegra/board-ventana-sdhci.c +++ b/arch/arm/mach-tegra/board-ventana-sdhci.c @@ -226,6 +226,10 @@ static int __init ventana_wifi_init(void) gpio_direction_output(VENTANA_WLAN_RST, 0); platform_device_register(&ventana_wifi_device); + + device_init_wakeup(&ventana_wifi_device.dev, 1); + device_set_wakeup_enable(&ventana_wifi_device.dev, 0); + return 0; } int __init ventana_sdhci_init(void) |