diff options
author | Martyn Welch | 2017-09-28 12:38:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-10-03 20:28:09 +0200 |
commit | 0f7bdbd2b3518e2698048bb5346b542e7cbb542a (patch) | |
tree | 9518d281606ec13cca1e7f21b3f5c8c9f9c40c9c /drivers/tty/serial/imx.c | |
parent | serial: imx: Use RX_BUF_SIZE to set size of RX buffer (diff) | |
download | kernel-qcow2-linux-0f7bdbd2b3518e2698048bb5346b542e7cbb542a.tar.gz kernel-qcow2-linux-0f7bdbd2b3518e2698048bb5346b542e7cbb542a.tar.xz kernel-qcow2-linux-0f7bdbd2b3518e2698048bb5346b542e7cbb542a.zip |
serial: imx: Switch setting dma_is_txing from "false" to "0"
The variable "dma_is_txing" is an unsigned int, set as either "0" or "1"
in all but one location, where it is instead set to "false". For
consistency, set dma_is_txing to "0" in this location too.
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r-- | drivers/tty/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 9800fda8fdd5..b697c1eefa74 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -1412,7 +1412,7 @@ static void imx_flush_buffer(struct uart_port *port) temp = readl(sport->port.membase + UCR1); temp &= ~UCR1_TDMAEN; writel(temp, sport->port.membase + UCR1); - sport->dma_is_txing = false; + sport->dma_is_txing = 0; } /* |