Ralf Baechle wrote:
On Tue, Dec 06, 2005 at 08:54:36PM +0300, Vladimir A. Barinov wrote:
This is a patch that fixes spin_lock deadlock in serial ip3106 driver.
The spin_lock_irq(&port->lock,flags) is already called in generic driver
serial_core.c before
port->ops->start_tx().
So the second call of spin_lock_irq(&port->lock, flags) leads to
deadlock. This could be verified in PREEMPT_DESCTOP case when
these options are enabled:
CONFIG_DEBUG_PREEMPT=y
CONFIG_DEBUG_SPINLOCK=y
Serial drivers are maintained by rmk+serial@xxxxxxxxxxxxxxxx, please send
to him.
Ok, thank you.
Ralf