diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-02-11 13:23:18 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-16 09:33:36 +0530 |
commit | 88987d2c7534a0269f567fb101e6d71a08f0f01d (patch) | |
tree | c9305c6ff9b11138f51889126e15f55af2b4350c /arch/avr32/mach-at32ap | |
parent | aee4d1fac887252faf6f7caf7bf1616131d5dbcd (diff) |
dmaengine: pl330: add DMA_PAUSE feature
DMA_PAUSE command is used for halting DMA transfer on chosen channel.
It can be useful when we want to safely read residue before terminating
all requests on channel. Otherwise there can be situation when some data
is transferred before channel termination but after reading residue,
which obviously results with data loss. To avoid this situation we can
pause channel, read residue and then terminate all requests.
This scenario is common, for example, in serial port drivers.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap')
0 files changed, 0 insertions, 0 deletions