Skip to content

Commit

Permalink
serial: imx: Switch setting dma_is_txing from "false" to "0"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martyn Welch authored and Greg Kroah-Hartman committed Oct 3, 2017
1 parent f654b23 commit 0f7bdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 0f7bdbd

Please sign in to comment.