diff options
author | Joel Fernandes <joelf@ti.com> | 2013-09-23 18:05:13 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-21 12:55:29 +0530 |
commit | fd009035047941fe21622b09665423f1043f0507 (patch) | |
tree | 0178cfc3b7bc928a4d20adce25702591d24410e3 /include | |
parent | 13098cf05a430464f50ffac73cfa2c467768410d (diff) | |
download | linux-fd009035047941fe21622b09665423f1043f0507.tar.gz linux-fd009035047941fe21622b09665423f1043f0507.tar.bz2 linux-fd009035047941fe21622b09665423f1043f0507.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions