diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-10-20 11:46:29 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-11-16 03:58:52 +0100 |
commit | 2ed086296e60c3ca9a63a025701f4d104f4ced85 (patch) | |
tree | 207a0607ec8caac6657d070d5dc1033750849299 /crypto | |
parent | dmaengine: Add transfer termination synchronization support (diff) | |
download | linux-2ed086296e60c3ca9a63a025701f4d104f4ced85.tar.xz linux-2ed086296e60c3ca9a63a025701f4d104f4ced85.zip |
dmaengine: virt-dma: Add synchronization helper function
Add a synchronize helper function for the virt-dma library. The function
makes sure that any scheduled descriptor complete callbacks have finished
running before the function returns.
This needs to be called by drivers using virt-dma in their
device_synchronize() callback. Depending on the driver additional
operations might be necessary in addition to calling vchan_synchronize() to
ensure proper synchronization.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions