commit | ceaf52265148d3a5ca24237fd1c709caa5f46184 | [log] [tgz] |
---|---|---|
author | Andy Duan <fugang.duan@nxp.com> | Fri Jan 11 14:29:49 2019 +0000 |
committer | Vinod Koul <vkoul@kernel.org> | Sun Jan 20 16:25:31 2019 +0530 |
tree | 99b3c8c2d2e02c717dbd3e441a68d97bea4b3910 | |
parent | 452fd6dc86209c23501c82183c1fbbbfa42c0a7a [diff] |
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>