-
Lars-Peter Clausen authored
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>
bc0e7345