Message ID | 87vdc14zqc.fsf@deeprootsystems.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index b731556..b709cf8 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -396,7 +396,8 @@ void omap_uart_prepare_idle(int num) static void serial_wakeup(struct omap_uart_state *uart) { - uart->garbage_ignore = 1; + if (uart->timeout) + uart->garbage_ignore = 1; schedule_work(&uart->wakeup_work); }