Re: [RESEND PATCH] dmaengine: at_xdmac: fix residue computation

2016-03-10 Thread Vinod Koul
On Thu, Mar 10, 2016 at 10:17:55AM +0100, Ludovic Desroches wrote: > When computing the residue we need two pieces of information: the current > descriptor and the remaining data of the current descriptor. To get > that information, we need to read consecutively two registers but we > can't do it i

[RESEND PATCH] dmaengine: at_xdmac: fix residue computation

2016-03-10 Thread Ludovic Desroches
When computing the residue we need two pieces of information: the current descriptor and the remaining data of the current descriptor. To get that information, we need to read consecutively two registers but we can't do it in an atomic way. For that reason, we have to check manually that current de