8250: fix autoconfig to work with serial console
authorFlavio Leitner <fbl@redhat.com>
Tue, 18 Sep 2012 19:21:32 +0000 (16:21 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:53:15 +0000 (09:53 -0700)
commitbd21f551c365e50a241b4cee4bc8be72914ff236
treec67fce569d97f38504fd145bf1f173345aeedbec
parent05fb79e45ee28b97a7cb74bd5ea3a88a8d13db1c
8250: fix autoconfig to work with serial console

The autoconfig prints messages while holding the
port's spinlock and that causes a deadlock when
using serial console.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.c