Re: [PATCH resend] dma: pl330: Fix cyclic transfers

2013-07-22 Thread Vinod Koul
On Tue, Jul 16, 2013 at 04:13:23PM +0200, Lars-Peter Clausen wrote: > Allocate a descriptor for each period of a cyclic transfer, not just the > first. > Also since the callback needs to be called for each finished period make sure > to > initialize the callback and callback_param fields of each

Re: [PATCH resend] dma: pl330: Fix cyclic transfers

2013-07-22 Thread Vinod Koul
On Tue, Jul 16, 2013 at 04:13:23PM +0200, Lars-Peter Clausen wrote: Allocate a descriptor for each period of a cyclic transfer, not just the first. Also since the callback needs to be called for each finished period make sure to initialize the callback and callback_param fields of each

[PATCH resend] dma: pl330: Fix cyclic transfers

2013-07-16 Thread Lars-Peter Clausen
Allocate a descriptor for each period of a cyclic transfer, not just the first. Also since the callback needs to be called for each finished period make sure to initialize the callback and callback_param fields of each descriptor in a cyclic transfer. Cc: sta...@vger.kernel.org Signed-off-by:

[PATCH resend] dma: pl330: Fix cyclic transfers

2013-07-16 Thread Lars-Peter Clausen
Allocate a descriptor for each period of a cyclic transfer, not just the first. Also since the callback needs to be called for each finished period make sure to initialize the callback and callback_param fields of each descriptor in a cyclic transfer. Cc: sta...@vger.kernel.org Signed-off-by: