diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 7255d9bce868..c8cbd00a41af 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -55,7 +55,7 @@ | |||
55 | static suspend_state_t suspend_state = PM_SUSPEND_ON; | 55 | static suspend_state_t suspend_state = PM_SUSPEND_ON; |
56 | static inline bool is_suspending(void) | 56 | static inline bool is_suspending(void) |
57 | { | 57 | { |
58 | return (suspend_state != PM_SUSPEND_ON); | 58 | return (suspend_state != PM_SUSPEND_ON) && console_suspend_enabled; |
59 | } | 59 | } |
60 | #else | 60 | #else |
61 | static inline bool is_suspending(void) | 61 | static inline bool is_suspending(void) |