Searched hist:"2 c2770541040318fa6ac0ac4424d8af6dd0709bf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | atmel_serial.c | diff 2c2770541040318fa6ac0ac4424d8af6dd0709bf Fri Feb 27 02:07:14 CST 2015 Leilei Zhao <leilei.zhao@atmel.com> tty/serial: at91: correct check of buf used in DMA
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>
|