aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r--drivers/dma/imx-sdma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 7fd32907cc4f..02a0aa072364 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -1832,8 +1832,10 @@ static struct sdma_desc *sdma_transfer_init(struct sdma_channel *sdmac,
goto err_desc_out;
/* No slave_config called in MEMCPY case, so do here */
- if (direction == DMA_MEM_TO_MEM)
+ if (direction == DMA_MEM_TO_MEM) {
sdma_config_ownership(sdmac, false, true, false);
+ sdma_set_channel_priority(sdmac, sdmac->prio);
+ }
if (sdma_load_context(sdmac))
goto err_desc_out;