summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl_raid.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-10-03 06:06:11 +0200
committerVinod Koul <vinod.koul@intel.com>2016-10-03 06:06:11 +0200
commit96622bde4c3fc0b442d25646f70043a884d54285 (patch)
tree907aa9927427a9845619236d1b15a23c1de4fc8e /drivers/dma/fsl_raid.c
parentMerge branch 'topic/tegra' into for-linus (diff)
parentdmaengine: xgene-dma: move unmap to before callback (diff)
downloadlinux-96622bde4c3fc0b442d25646f70043a884d54285.tar.xz
linux-96622bde4c3fc0b442d25646f70043a884d54285.zip
Merge branch 'topic/unmap_cleanup' into for-linus
Diffstat (limited to 'drivers/dma/fsl_raid.c')
-rw-r--r--drivers/dma/fsl_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c
index 40c58ae80660..7beea1065d81 100644
--- a/drivers/dma/fsl_raid.c
+++ b/drivers/dma/fsl_raid.c
@@ -135,8 +135,8 @@ static void fsl_re_issue_pending(struct dma_chan *chan)
static void fsl_re_desc_done(struct fsl_re_desc *desc)
{
dma_cookie_complete(&desc->async_tx);
- dmaengine_desc_get_callback_invoke(&desc->async_tx, NULL);
dma_descriptor_unmap(&desc->async_tx);
+ dmaengine_desc_get_callback_invoke(&desc->async_tx, NULL);
}
static void fsl_re_cleanup_descs(struct fsl_re_chan *re_chan)