From f0fa117c3fef2df54c2151c0d2c6ec7278cd45ee Mon Sep 17 00:00:00 2001 From: Kamal Kannan Balagopalan Date: Mon, 12 Dec 2011 14:15:02 -0800 Subject: arm: tegra: power: add watchdog recovery function Add watchdog recovery mechanism to protect against hangs during driver suspend/resume sequence Bug 857748 Change-Id: I03d540b38318a5a953b1a697af123291b48991e9 Signed-off-by: Kamal Kannan Balagopalan Reviewed-on: http://git-master/r/65986 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy --- arch/arm/mach-tegra/board-cardhu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-tegra/board-cardhu.c') diff --git a/arch/arm/mach-tegra/board-cardhu.c b/arch/arm/mach-tegra/board-cardhu.c index b571e799749a..81129d1a2762 100644 --- a/arch/arm/mach-tegra/board-cardhu.c +++ b/arch/arm/mach-tegra/board-cardhu.c @@ -64,6 +64,7 @@ #include "fuse.h" #include "pm.h" #include "baseband-xmm-power.h" +#include "wdt-recovery.h" /* All units are in millicelsius */ static struct tegra_thermal_data thermal_data = { @@ -997,6 +998,9 @@ static void __init tegra_cardhu_init(void) tegra_release_bootloader_fb(); cardhu_nfc_init(); cardhu_pci_init(); +#ifdef CONFIG_TEGRA_WDT_RECOVERY + tegra_wdt_recovery_init(); +#endif } static void __init cardhu_ramconsole_reserve(unsigned long size) -- cgit v1.2.3