summaryrefslogtreecommitdiffstats
path: root/drivers/dma/pch_dma.c
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-02-11 13:23:18 +0100
committerVinod Koul <vinod.koul@intel.com>2015-02-16 09:33:36 +0530
commit88987d2c7534a0269f567fb101e6d71a08f0f01d (patch)
treec9305c6ff9b11138f51889126e15f55af2b4350c /drivers/dma/pch_dma.c
parentaee4d1fac887252faf6f7caf7bf1616131d5dbcd (diff)
downloadlinux-88987d2c7534a0269f567fb101e6d71a08f0f01d.tar.bz2
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 'drivers/dma/pch_dma.c')
0 files changed, 0 insertions, 0 deletions