diff options
author | Andy Duan <fugang.duan@nxp.com> | 2019-01-11 14:29:49 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-01-20 16:25:31 +0530 |
commit | ceaf52265148d3a5ca24237fd1c709caa5f46184 (patch) | |
tree | 99b3c8c2d2e02c717dbd3e441a68d97bea4b3910 /drivers/dma/ti/omap-dma.c | |
parent | 452fd6dc86209c23501c82183c1fbbbfa42c0a7a (diff) | |
download | linux-ceaf52265148d3a5ca24237fd1c709caa5f46184.tar.gz linux-ceaf52265148d3a5ca24237fd1c709caa5f46184.tar.bz2 linux-ceaf52265148d3a5ca24237fd1c709caa5f46184.zip |
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: Andy Duan <fugang.duan@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ti/omap-dma.c')
0 files changed, 0 insertions, 0 deletions