Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f243f63 authored by Axel Lin's avatar Axel Lin Committed by Chris Ball
Browse files

mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value



Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent 03a16853
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -840,7 +840,7 @@ static int wmt_mci_probe(struct platform_device *pdev)
	priv->dma_desc_buffer = dma_alloc_coherent(&pdev->dev,
						   mmc->max_blk_count * 16,
						   &priv->dma_desc_device_addr,
						   208);
						   GFP_KERNEL);
	if (!priv->dma_desc_buffer) {
		dev_err(&pdev->dev, "DMA alloc fail\n");
		ret = -EPERM;