cpm_uart: fix non-console port startup bug
authorXiaotian Feng <Xiaotian.Feng@windriver.com>
Fri, 6 Mar 2009 03:01:23 +0000 (11:01 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 9 Mar 2009 16:45:51 +0000 (11:45 -0500)
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@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found