diff options
author | Xiaotian Feng <Xiaotian.Feng@windriver.com> | 2009-03-06 11:01:23 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-03-09 11:45:51 -0500 |
commit | 9ab921201444e4dcfd0c14ac4cc6758e32059dae (patch) | |
tree | 3985460c385c8378b3c9b9c26b2c72d612878e63 /drivers/serial/zs.c | |
parent | 0bcd783c1f0396b68410fdb41fbe196fbc1947af (diff) |
cpm_uart: fix non-console port startup bug
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>
Diffstat (limited to 'drivers/serial/zs.c')
0 files changed, 0 insertions, 0 deletions