summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngela Stegmaier <angelabaker@ti.com>2017-04-20 16:33:06 -0500
committerAngela Stegmaier <angelabaker@ti.com>2017-04-24 13:14:58 -0500
commitb0d933e3f2bcf2715d9436923eec36f344d583ed (patch)
treef1a86ed73bf2b36297f347d1f841c84f4b5660ca
parenta404d6aac840b6170cf4e9d819738842ec91746e (diff)
downloadipc-b0d933e3f2bcf2715d9436923eec36f344d583ed.tar.gz
Watchdog: Add Watchdog_restore for DRA7XX DSP
Watchdog code is not currently adding the Watchdog_restore callback for DRA7XX DSP. When power management (suspend/resume) is enabled for the DSP, the restore hook should be added so that the values of the timer are proper upon resume. Without this patch, when power management is enabled for the DSP, the watchdog timeout is not proper after resuming from suspend. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
-rw-r--r--packages/ti/deh/Watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ti/deh/Watchdog.c b/packages/ti/deh/Watchdog.c
index 4b84391..726b348 100644
--- a/packages/ti/deh/Watchdog.c
+++ b/packages/ti/deh/Watchdog.c
@@ -241,7 +241,7 @@ Void Watchdog_init( Void (*timerFxn)(Void) )
}
}
-#if defined(OMAP5) || defined(IPU)
+#if defined(OMAP5) || defined(VAYU)
if (first) {
/* Register callback function */
if (!IpcPower_registerCallback(IpcPower_Event_RESUME, Watchdog_restore,