serial: 8250_dma: TX cleanup
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 10 Apr 2013 13:58:24 +0000 (16:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 20:17:56 +0000 (13:17 -0700)
commit5ea5b24da80322b8136cb000a7340cdc29a3d6dc
tree3ec6da8909165463d6f4f81cdb1c505e87823f60
parent84f57d9e3685500a7447fc09a6891ce218869174
serial: 8250_dma: TX cleanup

Removing one unneeded uart_write_wakeup(). There is no need
to start PIO transfer unless DMA fails, so this also changes
serial8250_tx_dma() to return 0 unless that is the case.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dma.c