commit | 397c59bce6cbda05dc862b691e15ac2ef0ba1948 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Tue Nov 14 16:32:10 2017 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Dec 04 22:33:51 2017 +0530 |
tree | a8c6cf73e3c18df6436cd35c19e828bf91f8e67a | |
parent | 47d71bc75d072ce25c1063aa629e55e1cfb961b2 [diff] |
dmaengine: img-mdc-dma: Use vchan_terminate_vdesc() instead of desc_free To avoid race with vchan_complete, use the race free way to terminate running transfer. Implement the device_synchronize callback to make sure that the terminated descriptor is freed. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>