Skip to content
Commit 9ab92120 authored by Xiaotian Feng's avatar Xiaotian Feng Committed by Kumar Gala
Browse files

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: default avatarXiaotian Feng <xiaotian.feng@windriver.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 0bcd783c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment