Commit af8bf89a authored by Fabio Estevam's avatar Fabio Estevam Committed by Vinod Koul
Browse files

dmaengine: imx-sdma: Use a single line for dma_alloc_coherent()



Make the call to dma_alloc_coherent() to fit into a single line, which
helps readability.

Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 65102238
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -671,9 +671,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
	int ret;
	unsigned long flags;

	buf_virt = dma_alloc_coherent(NULL,
			size,
			&buf_phys, GFP_KERNEL);
	buf_virt = dma_alloc_coherent(NULL, size, &buf_phys, GFP_KERNEL);
	if (!buf_virt) {
		return -ENOMEM;
	}