ARM: 5874/1: serial21285: fix disable_irq-from-interrupt-handler deadlock
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Mon, 11 Jan 2010 14:57:24 +0000 (15:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 11 Jan 2010 15:39:21 +0000 (15:39 +0000)
commitcc20b900be7aa8e456aff82dfcb55fb15c508962
treee031b4397bf585a3c9cf97a373400c2e269416a5
parent4c9f8be7dab831c78b5f491739fc5cd01f2efb03
ARM: 5874/1: serial21285: fix disable_irq-from-interrupt-handler deadlock

The console hangs during bootup when disable_irq is called from the
transmit interrupt handler (it will wait forever for it's "own"
interrupt in synchronize_irq). Fix by using disable_irq_nosync()
instead.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/21285.c