Commit c06abca6 authored by Lucas Stach's avatar Lucas Stach Committed by Vinod Koul
Browse files

Revert "dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations"



This reverts commit c1199875, as this depends on another commit
that is going to be reverted.

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarRobin Gong <yibin.gong@nxp.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 25956467
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1194,7 +1194,7 @@ static int sdma_alloc_bd(struct sdma_desc *desc)
{
	int ret = 0;

	desc->bd = dma_pool_alloc(desc->sdmac->bd_pool, GFP_NOWAIT,
	desc->bd = dma_pool_alloc(desc->sdmac->bd_pool, GFP_ATOMIC,
					&desc->bd_phys);
	if (!desc->bd) {
		ret = -ENOMEM;