Found-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
if (unlikely(!tx)) {
async_tx_quiesce(&depend_tx);
if (unlikely(!tx)) {
async_tx_quiesce(&depend_tx);
dma_async_issue_pending(chan);
tx = device->device_prep_dma_zero_sum(chan,
dma_src, src_cnt, len, result,
dma_prep_flags);
dma_async_issue_pending(chan);
tx = device->device_prep_dma_zero_sum(chan,
dma_src, src_cnt, len, result,
dma_prep_flags);
}
async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);
}
async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);