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

2009-03-09 Thread Kumar Gala
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 reque

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

2009-03-05 Thread Xiaotian Feng
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 --- drivers/ser