commit | fc51446021f42aca8906e701fc2292965aafcb15 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Jul 23 10:24:50 2013 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Sun Jul 28 19:08:33 2013 +0530 |
tree | a225fd3f5671140ffeb2ae6b771c2756e8fcba4a | |
parent | 27abb2ffb07a70bdebf9a785658f68f10600281c [diff] |
dma: pl330: Fix cyclic transfers 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: stable@vger.kernel.org Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>