8250_core: Fix unwanted TX chars write
authorLoic Poulain <loic.poulain@intel.com>
Thu, 24 Apr 2014 09:38:56 +0000 (11:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 20:25:30 +0000 (13:25 -0700)
commitb67e840cb1982f32217375ac992a21b343540cb9
tree2c0b49696c25cb70a1de3fa5733e2980413f1bbc
parente179df5fd9250ae67f8e8fcb1e56a43ce820fcae
8250_core: Fix unwanted TX chars write

commit b08c9c317e3f7764a91d522cd031639ba42b98cc upstream.

On transmit-hold-register empty, serial8250_tx_chars
should be called only if we don't use DMA.
DMA has its own tx cycle.

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