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 /sound/soc/soc-generic-dmaengine-pcm.c | |
parent | aee4d1fac887252faf6f7caf7bf1616131d5dbcd (diff) | |
download | linux-stable-88987d2c7534a0269f567fb101e6d71a08f0f01d.tar.gz linux-stable-88987d2c7534a0269f567fb101e6d71a08f0f01d.tar.bz2 linux-stable-88987d2c7534a0269f567fb101e6d71a08f0f01d.zip |
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 'sound/soc/soc-generic-dmaengine-pcm.c')
0 files changed, 0 insertions, 0 deletions