serial: tegra_hsuart: Cleanups and bug fixes
authorColin Cross <ccross@android.com>
Fri, 4 Jun 2010 17:56:50 +0000 (10:56 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:06 +0000 (16:28 -0700)
commit333c9f1ef06034effe78db8d1f1562466ac2e078
treec767d85c7f8bff21deeaf960aecffb7cd35a4e18
parent816d63e397fcbda31c35772d4c6948be14265da7
serial: tegra_hsuart: Cleanups and bug fixes

tegra_start_tx was called directly by the serial core, as
well as from dma and serial interrupts to queue the next
block of data.  Separate out the "queue next data"
functionality into tegra_start_next_tx.

Also fixes TX PIO by adjusting FIFO sizes and prevents
last characters from getting lost by spinning on TEMT
before disabling clocks.

Change-Id: If8ce15490f77dcbde48f1e64959d5c3f0ec35120
Signed-off-by: Colin Cross <ccross@android.com>
drivers/serial/tegra_hsuart.c