serial: 8250: Don't delay after transmitter is ready.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 5 Oct 2010 18:40:07 +0000 (11:40 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:20:06 +0000 (10:20 -0700)
commit97d303b7657c1a45c158d002f829ff69196c493d
treead796eebea4bb22064e87dde1518ca935cca2dcd
parentfd8b6cb4d820c4a717af1a0ac3ee387fd84571cf
serial: 8250: Don't delay after transmitter is ready.

The loop in wait_for_xmitr() is delaying one extra uS after the ready
condition has been met.  Rewrite the loop to only delay if the
transmitter is not ready.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/8250.c