diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-23 10:24:50 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-07-28 19:08:33 +0530 |
commit | fc51446021f42aca8906e701fc2292965aafcb15 (patch) | |
tree | a225fd3f5671140ffeb2ae6b771c2756e8fcba4a /drivers/scsi/scsi_transport_srp.c | |
parent | 27abb2ffb07a70bdebf9a785658f68f10600281c (diff) | |
download | op-kernel-dev-fc51446021f42aca8906e701fc2292965aafcb15.zip op-kernel-dev-fc51446021f42aca8906e701fc2292965aafcb15.tar.gz |
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>
Diffstat (limited to 'drivers/scsi/scsi_transport_srp.c')
0 files changed, 0 insertions, 0 deletions