arm: tegra: cardhu: enable LP0
Wen Yi [Tue, 25 Oct 2011 23:18:46 +0000 (16:18 -0700)]
Enable LP0 for cardhu family boards.

BUG 893759

Change-Id: Ic5cceeb1034104eefb3243036fbc2c3dc0125b43
Reviewed-on: http://git-master/r/60335
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd7c4a6633a428895ebdb1e98932c696e7587271e

arch/arm/mach-tegra/board-cardhu-kbc.c
arch/arm/mach-tegra/board-cardhu-power.c

index bbdc013..8a5fc48 100644 (file)
@@ -269,6 +269,7 @@ int __init cardhu_keys_init(void)
 
        /* Register on-key through pmu interrupt */
        if ((board_info.board_id == BOARD_E1291) ||
+               (board_info.board_id == BOARD_E1198) ||
                (board_info.board_id == BOARD_E1257) ||
                (board_info.board_id == BOARD_PM305) ||
                (board_info.board_id == BOARD_PM311) ||
index 7ccd6ff..9e747e2 100644 (file)
@@ -1025,7 +1025,7 @@ static void cardhu_board_resume(int lp_state, enum resume_stage stg)
 static struct tegra_suspend_platform_data cardhu_suspend_data = {
        .cpu_timer      = 2000,
        .cpu_off_timer  = 200,
-       .suspend_mode   = TEGRA_SUSPEND_LP1,
+       .suspend_mode   = TEGRA_SUSPEND_LP0,
        .core_timer     = 0x7e7e,
        .core_off_timer = 0,
        .corereq_high   = true,