diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-23 10:24:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-11 18:35:21 -0700 |
commit | 9b0f8f01765acdf7c84078b63d2e34c2b2dcafa8 (patch) | |
tree | 41b38d27418a6a8934707a2770ddf31a0b2bcf5b /drivers/dma/txx9dmac.c | |
parent | 17e94a63470ddbd191bcc386f55f62987b58f912 (diff) |
dma: pl330: Fix cyclic transfers
commit fc51446021f42aca8906e701fc2292965aafcb15 upstream.
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.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/txx9dmac.c')
0 files changed, 0 insertions, 0 deletions