diff options
author | 2015-10-20 11:46:31 +0200 | |
---|---|---|
committer | 2015-11-16 08:28:52 +0530 | |
commit | bc0e7345168c0f7483d2d1da86285d89136417cd (patch) | |
tree | 9045e7f4f133da72296fdf13c9270db34d64906a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: axi_dmac: Add synchronization support (diff) | |
download | linux-dev-bc0e7345168c0f7483d2d1da86285d89136417cd.tar.xz linux-dev-bc0e7345168c0f7483d2d1da86285d89136417cd.zip |
ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown
Use the new dmaengine_synchronize() function to make sure that all complete
callbacks have finished running before the runtime data, which is accessed
in the completed callback, is freed.
This fixes a long standing use-after-free race condition that has been
observed on some systems.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions