projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c5758
)
MLK-12294 tty: serial: imx: init sport->flags before tx DMA ready
author
Fugang Duan
<b38611@freescale.com>
Wed, 20 Jan 2016 08:33:54 +0000
(16:33 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:39 +0000
(15:21 -0500)
Before then DMA tx path, init the DMA tx path synchronal flags
sport->flags.
Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/tty/serial/imx.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/imx.c
b/drivers/tty/serial/imx.c
index
2378885
..
22bd5a4
100644
(file)
--- a/
drivers/tty/serial/imx.c
+++ b/
drivers/tty/serial/imx.c
@@
-1187,6
+1187,7
@@
static void imx_enable_dma(struct imx_port *sport)
unsigned long temp;
init_waitqueue_head(&sport->dma_wait);
+ sport->flags = 0;
/* set UCR1 */
temp = readl(sport->port.membase + UCR1);