commit | 2c2770541040318fa6ac0ac4424d8af6dd0709bf | [log] [tgz] |
---|---|---|
author | Leilei Zhao <leilei.zhao@atmel.com> | Fri Feb 27 16:07:14 2015 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Mar 07 03:51:47 2015 +0100 |
tree | 11bc0ea4048d038223f08f0c531f3ce2355b2f53 | |
parent | 1c9be31015747b0a981804438b269cfb0f49aa8a [diff] |
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>