diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2009-11-18 11:08:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-18 14:04:18 -0800 |
commit | a4b8b8eb2533da448fcaaef2467a1cc4489057b9 (patch) | |
tree | 8b0a1f42469f9159c69401408f3d6c6fb7961100 /init | |
parent | fa8e26457e28606446f9afd6566cead9d0418b73 (diff) |
Serial: Do not read IIR in serial8250_start_tx when UART_BUG_TXEN
commit 68cb4f8e246bbbc649980be0628cae9265870a91 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions