Skip to content
Commit 93c2aac1 authored by Guillaume Ranquet's avatar Guillaume Ranquet Committed by Sasha Levin
Browse files

dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma

[ Upstream commit 90415753

 ]

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

Use GFP_NOWAIT to not deplete the emergency pool.

Signed-off-by: default avatarGuillaume Ranquet <granquet@baylibre.com>

Link: https://lore.kernel.org/r/20210513192642.29446-4-granquet@baylibre.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0f48f927
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