summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorJoel Fernandes <joelf@ti.com>2013-09-03 10:02:46 -0500
committerVinod Koul <vinod.koul@intel.com>2013-09-04 18:38:46 +0530
commit534070622d2c7fbc5cc929aa93541ccd0ae52ab1 (patch)
tree30bd34589b97c189ae86a5a4b0f12f11b1e5379d /arch/arm/common
parent6fbe24da828ff344372c38441156caefc4a51b3e (diff)
downloadlinux-534070622d2c7fbc5cc929aa93541ccd0ae52ab1.tar.bz2
dma: edma: Write out and handle MAX_NR_SG at a given time
Process SG-elements in batches of MAX_NR_SG if they are greater than MAX_NR_SG. Due to this, at any given time only those many slots will be used in the given channel no matter how long the scatter list is. We keep track of how much has been written inorder to process the next batch of elements in the scatter-list and detect completion. For such intermediate transfer completions (one batch of MAX_NR_SG), make use of pause and resume functions instead of start and stop when such intermediate transfer is in progress or completed as we donot want to clear any pending events. Signed-off-by: Joel Fernandes <joelf@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm/common')
0 files changed, 0 insertions, 0 deletions