git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9be31
)
tty/serial: at91: correct check of buf used in DMA
author
Leilei Zhao
<leilei.zhao@atmel.com>
Fri, 27 Feb 2015 08:07:14 +0000
(16:07 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:51:47 +0000
(
03:51
+0100)
We only use buf of ring In DMA rx function while using buf of xmit
in DMA tx function. So in DMA rx we need definitively to check the
buf of ring which is corresponding to DMA rx function. And use macro
PAGE_ALIGNED to simplify the expression.
Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c
patch
|
blob
|
history
diff --cc
drivers/tty/serial/atmel_serial.c
Simple merge