aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index becf0e38ef7e..bc934dbe3bf0 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -406,7 +406,7 @@ void omap_uart_resume_idle(int num)
406 struct omap_uart_state *uart; 406 struct omap_uart_state *uart;
407 407
408 list_for_each_entry(uart, &uart_list, node) { 408 list_for_each_entry(uart, &uart_list, node) {
409 if (num == uart->num) { 409 if (num == uart->num && uart->can_sleep) {
410 omap_uart_enable_clocks(uart); 410 omap_uart_enable_clocks(uart);
411 411
412 /* Check for IO pad wakeup */ 412 /* Check for IO pad wakeup */