Message ID | 1258492651-16002-1-git-send-email-vikram.pandita@ti.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 2e17b57..669652b 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -624,8 +624,15 @@ void __init omap_serial_early_init(void) uart->p = p; list_add_tail(&uart->node, &uart_list); - if (cpu_is_omap44xx()) + if (cpu_is_omap44xx()) { p->irq += 32; + /* Do not read empty UART fifo on omap4 */ + p->flags |= UPF_NO_EMPTY_FIFO_READ; + } + + /* Do not read empty UART fifo on omap3630 */ + if (cpu_is_omap3630()) + p->flags |= UPF_NO_EMPTY_FIFO_READ; omap_uart_enable_clocks(uart); }