serial: 8250_dma: TX optimisation
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 16 Jan 2013 12:08:14 +0000 (14:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 15:36:10 +0000 (07:36 -0800)
commita3b0397fdf19b3c23f37012532482c787e01d4a0
treea00e2aeabf9b1922300ec39136215691b2d4a73e
parent6f3fe3b1027bf50c0a0859e5c9ee93b174b95543
serial: 8250_dma: TX optimisation

Remove one useless wakeup, and do not use DMA with zero byte
transfers.

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