summaryrefslogtreecommitdiff
path: root/arch/arm/common
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/common')
-rw-r--r--arch/arm/common/fiq_debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/fiq_debugger.c b/arch/arm/common/fiq_debugger.c
index 080f69edd75a..d44690dae546 100644
--- a/arch/arm/common/fiq_debugger.c
+++ b/arch/arm/common/fiq_debugger.c
@@ -531,7 +531,7 @@ static void sleep_timer_expired(unsigned long data)
struct fiq_debugger_state *state = (struct fiq_debugger_state *)data;
if (state->uart_clk_enabled && !state->no_sleep) {
- if (state->debug_enable) {
+ if (state->debug_enable && !state->console_enable) {
state->debug_enable = false;
debug_printf_nfiq(state, "suspending fiq debugger\n");
}