Ian Jackson 68cb4f8e24 Serial: Do not read IIR in serial8250_start_tx when UART_BUG_TXEN
Do not read IIR in serial8250_start_tx when UART_BUG_TXEN

Reading the IIR clears some oustanding interrupts so it is not safe.
Instead, simply transmit immediately if the buffer is empty without
regard to IIR.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 15:18:05 -08:00
..
2009-12-11 15:18:03 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2009-09-19 13:13:19 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-08-31 18:38:16 +02:00
2009-09-19 13:13:28 -07:00
2009-10-01 16:11:15 -07:00
2008-02-03 14:47:38 +02:00
2008-04-30 08:29:47 -07:00
2009-09-19 13:13:28 -07:00
2009-09-23 07:39:43 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-12-11 15:18:04 -08:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2007-07-18 08:38:22 -07:00