Re: [PATCH] cpm_uart: fix non-console port startup bug

From: Kumar Gala
Date: Mon Mar 09 2009 - 12:47:04 EST



On Mar 5, 2009, at 9:01 PM, Xiaotian Feng wrote:

After UART interrupt handler is installed and rx is enabled, if an rx
interrupt comes before hardware init, rx->cur will be updated. Then the
hardware init will reset BD and make rx->cur out of sync, move the hardware
init code before request_irq.

Signed-off-by: Xiaotian Feng <xiaotian.feng@xxxxxxxxxxxxx>
---
drivers/serial/cpm_uart/cpm_uart_core.c | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)

applied to next

- k
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/