mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
authorAxel Lin <axel.lin@ingics.com>
Mon, 28 Apr 2014 00:58:31 +0000 (08:58 +0800)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:40:40 +0000 (08:40 -0400)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/wmt-sdmmc.c

index 498d1f79908574144408536fa9488ad5f0d0c39f..282891a8e451e77040faaf26e5267e70595cc4ba 100644 (file)
@@ -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;
This page took 0.025055 seconds and 5 git commands to generate.