diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-07-18 11:47:13 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-18 17:31:47 -0700 |
commit | 0eb9b4c59731b915b2be6c83e67ddeea54e3c8b4 (patch) | |
tree | a0ca2b321707fcff50f44d3728101c46ff6ee3bf /arch/arm/mach-tegra/board-cardhu.c | |
parent | 636520e513cc2a48df9c6c8f1233c43e955080a1 (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
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>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.c b/arch/arm/mach-tegra/board-cardhu.c index c651e93e84bc..541d3c3774fe 100644 --- a/arch/arm/mach-tegra/board-cardhu.c +++ b/arch/arm/mach-tegra/board-cardhu.c @@ -37,7 +37,6 @@ #include <linux/spi/spi.h> #include <linux/tegra_uart.h> #include <linux/memblock.h> -#include <linux/console.h> #include <mach/clk.h> #include <mach/iomap.h> @@ -443,7 +442,6 @@ struct uart_clk_parent uart_parent_clk[] = { [2] = {.name = "clk_m"}, }; -static struct clk *debug_uart_clk; static struct tegra_uart_platform_data cardhu_uart_pdata; static void __init uart_debug_init(void) @@ -522,18 +520,6 @@ static void __init cardhu_uart_init(void) ARRAY_SIZE(cardhu_uart_devices)); } -void debug_uart_suspend(void) -{ - if (console_suspend_enabled) - clk_disable(debug_uart_clk); -} - -void debug_uart_resume(void) -{ - if (console_suspend_enabled) - clk_enable(debug_uart_clk); -} - #if defined(CONFIG_RTC_DRV_TEGRA) static struct resource tegra_rtc_resources[] = { [0] = { |