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>
Thu, 24 Apr 2014 22:18:02 +0000 (15:18 -0700)
commitb08c9c317e3f7764a91d522cd031639ba42b98cc
tree7d0f1387ed4c14229923b1c8b8239032dcc00173
parent6a20dbd6caa2358716136144bf524331d70b1e03
8250_core: Fix unwanted TX chars write

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c