summaryrefslogtreecommitdiffstats
path: root/drivers/dma/of-dma.c
diff options
context:
space:
mode:
authorJoel Fernandes <joelf@ti.com>2013-09-23 18:05:13 -0500
committerVinod Koul <vinod.koul@intel.com>2013-10-21 12:55:29 +0530
commitfd009035047941fe21622b09665423f1043f0507 (patch)
tree0178cfc3b7bc928a4d20adce25702591d24410e3 /drivers/dma/of-dma.c
parent13098cf05a430464f50ffac73cfa2c467768410d (diff)
downloadlinux-fd009035047941fe21622b09665423f1043f0507.tar.bz2
dma: edma: Split out PaRAM set calculations into its own function
PaRAM set calculation is abstracted into its own function to enable better reuse for other DMA cases such as cyclic. We adapt the Slave SG case to use the new function. This provides a much cleaner abstraction to the internals of the PaRAM set. However, any PaRAM attributes that are not common to all DMA types must be set separately such as setting of interrupts. This function takes care of the most-common attributes. Also added comments clarifying A-sync case calculations. Signed-off-by: Joel Fernandes <joelf@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/of-dma.c')
0 files changed, 0 insertions, 0 deletions