Re: [PATCH 1/2] dma: at_hdmac: Fix calculation of the residual bytes

2015-02-18 Thread Torsten Fleischer
Hello Ludovic, >> >> transfer 1: residue = 975584 >> transfer 2: residue = 1048380 >> > > You're right about these points. Good job. I think it should be sent to > stable if it can be applied properly. > > For multilines comments, please follow the coding rule > /* > * my > * comments > */ > th

Re: [PATCH 1/2] dma: at_hdmac: Fix calculation of the residual bytes

2015-02-18 Thread Ludovic Desroches
Hello Torsten, On Sun, Feb 08, 2015 at 10:29:03AM +0100, Torsten Fleischer wrote: > From: Torsten Fleischer > > This patch fixes the following issues regarding to the calculation of the > residue: > > 1. The residue is always calculated for the current transfer even if the > cookie is associate