Commit 23a1bff7 authored by Vinod Koul's avatar Vinod Koul

Merge branch 'topic/imx' into for-linus

parents b7ff66ca af8bf89a
...@@ -677,9 +677,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, ...@@ -677,9 +677,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
int ret; int ret;
unsigned long flags; unsigned long flags;
buf_virt = dma_alloc_coherent(NULL, buf_virt = dma_alloc_coherent(NULL, size, &buf_phys, GFP_KERNEL);
size,
&buf_phys, GFP_KERNEL);
if (!buf_virt) { if (!buf_virt) {
return -ENOMEM; return -ENOMEM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment