diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-11-11 17:24:38 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-12-11 13:08:11 +0000 |
commit | 852c6128d1a84e17963e39f1dd089bc29136f9bd (patch) | |
tree | 95b7bde9c5772960c33466addeb765495278fd9c /lib/power_management/suspend/tftf_suspend.c | |
parent | 629e15cf9961e1003b9ad70801193af44330a791 (diff) |
Add some debug prints when entering/resuming from suspend state
Change-Id: I291e0dc6d3e8056052b7c57a4b38df7a4d02cdbf
Diffstat (limited to 'lib/power_management/suspend/tftf_suspend.c')
-rw-r--r-- | lib/power_management/suspend/tftf_suspend.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/power_management/suspend/tftf_suspend.c b/lib/power_management/suspend/tftf_suspend.c index c622752..fb976a0 100644 --- a/lib/power_management/suspend/tftf_suspend.c +++ b/lib/power_management/suspend/tftf_suspend.c @@ -18,6 +18,7 @@ #include <power_management.h> #include <psci.h> #include <stdint.h> +#include <tftf.h> #include <tftf_lib.h> #include "suspend_private.h" @@ -60,6 +61,8 @@ int32_t tftf_cpu_suspend(uint32_t power_state) flags = read_daif(); + pr_debug("Going into suspend state\n"); + rc = __tftf_cpu_suspend(power_state); /* @@ -75,5 +78,7 @@ int32_t tftf_cpu_suspend(uint32_t power_state) */ write_daif(flags); + pr_debug("Resumed from suspend state\n"); + return rc; } |