From: Xiaotian Feng Date: Fri, 6 Mar 2009 03:01:23 +0000 (+0800) Subject: cpm_uart: fix non-console port startup bug X-Git-Tag: v2.6.30-rc1~619^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab921201444e4dcfd0c14ac4cc6758e32059dae;p=pandora-kernel.git 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed