Skip to content
Commit ceaf5226 authored by Andy Duan's avatar Andy Duan Committed by Vinod Koul
Browse files

dmaengine: imx-sdma: pass ->dev to dma_alloc_coherent() API



Pass ->dev to dma_alloc_coherent() API. We need this
because dma_alloc_coherent() makes use of dev parameter
and receiving NULL will result in a crash.

Signed-off-by: default avatarAndy Duan <fugang.duan@nxp.com>
Signed-off-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: default avatarRobin Gong <yibin.gong@nxp.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 452fd6dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment