summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-power.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-07-18 11:47:13 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:44 -0800
commitf0ff768ec946a3755f7593db4f9366bcfd8307be (patch)
tree91fed5fd09fc75cdca0c5ea946e143204227ad84 /arch/arm/mach-tegra/board-cardhu-power.c
parente414c8f50e0b0e5944e8e343c8640f050902c939 (diff)
arm: tegra: Console suspend for all boards
Added the board level suspend/resume and call the console suspend from board level suspend/resume. bug 820536 Original-Change-Id: I246265241246dc0682870571c927bd23023e5aca Reviewed-on: http://git-master/r/41448 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Rebase-Id: Re1f3dd4f75ee05456899d9a67f74ae84f9572654
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-power.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-power.c b/arch/arm/mach-tegra/board-cardhu-power.c
index 051ace4bfd70..b16447a50811 100644
--- a/arch/arm/mach-tegra/board-cardhu-power.c
+++ b/arch/arm/mach-tegra/board-cardhu-power.c
@@ -902,13 +902,13 @@ int __init cardhu_gpio_switch_regulator_init(void)
static void cardhu_board_suspend(int lp_state, enum suspend_stage stg)
{
if ((lp_state == TEGRA_SUSPEND_LP1) && (stg == TEGRA_SUSPEND_BEFORE_CPU))
- cardhu_debug_uart_suspend();
+ tegra_console_uart_suspend();
}
static void cardhu_board_resume(int lp_state, enum resume_stage stg)
{
if ((lp_state == TEGRA_SUSPEND_LP1) && (stg == TEGRA_RESUME_AFTER_CPU))
- cardhu_debug_uart_resume();
+ tegra_console_uart_resume();
}
static struct tegra_suspend_platform_data cardhu_suspend_data = {