diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-05 11:57:46 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-05-14 18:23:19 +0530 |
commit | bc473da1ed726c975ad47f8d7d27631de11356d8 (patch) | |
tree | 0f489b31ab1861a600e8ed7dacefd87c6a83e78f /drivers/dma/cppi41.c | |
parent | 2aab4e18152cd30cb5d2f4c27629fc8a04aed979 (diff) |
dmaengine: mv_xor_v2: do not use descriptors not acked by async_tx
Descriptors that have not been acknowledged by the async_tx layer
should not be re-used, so this commit adjusts the implementation of
mv_xor_v2_prep_sw_desc() to skip descriptors for which
async_tx_test_ack() is false.
Fixes: 19a340b1a820 ("dmaengine: mv_xor_v2: new driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/cppi41.c')
0 files changed, 0 insertions, 0 deletions