RE: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-26 Thread Zhao, Leilei
; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA On 02/26/2015, 07:55 AM, Leilei Zhao wrote: > We only use buf of ring In DMA rx function while using buf of xmit in > DMA tx function. So here we need definitively to check t

Re: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-26 Thread Jiri Slaby
On 02/26/2015, 07:55 AM, Leilei Zhao wrote: > We only use buf of ring In DMA rx function while using buf of xmit > in DMA tx function. So here we need definitively to check the buf > of ring which is corresponding to DMA rx function. > > Signed-off-by: Leilei Zhao > Acked-by: Nicolas Ferre >

RE: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-26 Thread Zhao, Leilei
; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA On 02/26/2015, 07:55 AM, Leilei Zhao wrote: We only use buf of ring In DMA rx function while using buf of xmit in DMA tx function. So here we need definitively to check the buf of ring

Re: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-26 Thread Jiri Slaby
On 02/26/2015, 07:55 AM, Leilei Zhao wrote: We only use buf of ring In DMA rx function while using buf of xmit in DMA tx function. So here we need definitively to check the buf of ring which is corresponding to DMA rx function. Signed-off-by: Leilei Zhao leilei.z...@atmel.com Acked-by:

[PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-25 Thread Leilei Zhao
We only use buf of ring In DMA rx function while using buf of xmit in DMA tx function. So here we need definitively to check the buf of ring which is corresponding to DMA rx function. Signed-off-by: Leilei Zhao Acked-by: Nicolas Ferre --- drivers/tty/serial/atmel_serial.c |2 +- 1 file

[PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-25 Thread Leilei Zhao
We only use buf of ring In DMA rx function while using buf of xmit in DMA tx function. So here we need definitively to check the buf of ring which is corresponding to DMA rx function. Signed-off-by: Leilei Zhao leilei.z...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com ---