dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations
authorLucas Stach <l.stach@pengutronix.de>
Tue, 6 Nov 2018 03:40:37 +0000 (03:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:16:20 +0000 (09:16 +0100)
commit374f384bc66f7a928f11eb20c0518f0f3fc1ffd6
tree461ce57af73cd90565e731bc82c033fc9bcdf8ad
parent9063f5a99ea76f85935e3e453422d15e7be89b9e
dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations

commit 64068853bc77786d1a28abb4087d6a3e93aedbe2 upstream.

DMA buffer descriptors aren't allocated from atomic context, so they
can use the less heavyweigth GFP_NOWAIT.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/imx-sdma.c