dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
authorGuillaume Ranquet <granquet@baylibre.com>
Thu, 13 May 2021 19:26:42 +0000 (21:26 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jun 2021 06:53:47 +0000 (12:23 +0530)
commit9041575348b21ade1fb74d790f1aac85d68198c7
tree16696de003d3913a0e75d020b63a7f6de024c7b6
parent2537b40b0a4f61d2c83900744fe89b09076be9c6
dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma

As recommended by the doc in:
Documentation/drivers-api/dmaengine/provider.rst

Use GFP_NOWAIT to not deplete the emergency pool.

Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
Link: https://lore.kernel.org/r/20210513192642.29446-4-granquet@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mediatek/mtk-uart-apdma.c