diff options
| author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-09-20 11:56:10 +0200 |
|---|---|---|
| committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-09-29 08:51:54 +0200 |
| commit | 41fe35a99a95442f7221b925895cdcd362fb1962 (patch) | |
| tree | e1152b355bbbfd2dc67d3d4561abfb09d18b8371 /arch/arm/mach-ux500/pm/suspend.c | |
| parent | 2deda24045d4253ee36f656bb037896133021404 (diff) | |
ARM: ux500: suspend: Add wake on uart
Change-Id: Ia9ae6894333ee8d696a2b946b565496e1c26554f
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32077
Diffstat (limited to 'arch/arm/mach-ux500/pm/suspend.c')
| -rw-r--r-- | arch/arm/mach-ux500/pm/suspend.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/pm/suspend.c b/arch/arm/mach-ux500/pm/suspend.c index 8da91c3fbf0..96ee874d420 100644 --- a/arch/arm/mach-ux500/pm/suspend.c +++ b/arch/arm/mach-ux500/pm/suspend.c @@ -16,12 +16,16 @@ #include <mach/context.h> #include <mach/pm.h> +#include "suspend_dbg.h" + static int suspend(bool do_deepsleep) { int ret = 0; nmk_gpio_clocks_enable(); + ux500_suspend_dbg_add_wake_on_uart(); + nmk_gpio_wakeups_suspend(); /* configure the prcm for a sleep wakeup */ @@ -88,6 +92,8 @@ exit: nmk_gpio_wakeups_resume(); + ux500_suspend_dbg_remove_wake_on_uart(); + nmk_gpio_clocks_disable(); return ret; |
