projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f654b23
)
serial: imx: Switch setting dma_is_txing from "false" to "0"
author
Martyn Welch
<martyn.welch@collabora.co.uk>
Thu, 28 Sep 2017 10:38:51 +0000
(11:38 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 18:28:09 +0000
(20:28 +0200)
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>
drivers/tty/serial/imx.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/imx.c
b/drivers/tty/serial/imx.c
index
9800fda
..
b697c1e
100644
(file)
--- 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
;
}
/*