From: Ian Jackson Date: Wed, 18 Nov 2009 10:08:11 +0000 (+0100) Subject: Serial: Do not read IIR in serial8250_start_tx when UART_BUG_TXEN X-Git-Tag: v2.6.33-rc1~310^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68cb4f8e246bbbc649980be0628cae9265870a91;p=pandora-kernel.git 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 Reviewed-by: Markus Armbruster Reviewed-by: Jiri Kosina Cc: Alan Cox Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed