diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-28 04:58:31 +0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 16:40:40 +0400 |
commit | 6f243f6334f5f7126b3d91305b115d1628664440 (patch) | |
tree | 6903bf4d3c9c3c633f3d84f6613586c6f517df46 /drivers/mmc/host/wmt-sdmmc.c | |
parent | 03a16853401dcbb1495e7aef6f72b5281c3159e7 (diff) | |
download | linux-6f243f6334f5f7126b3d91305b115d1628664440.tar.xz |
mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
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>
Diffstat (limited to 'drivers/mmc/host/wmt-sdmmc.c')
-rw-r--r-- | drivers/mmc/host/wmt-sdmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c index 498d1f799085..282891a8e451 100644 --- a/drivers/mmc/host/wmt-sdmmc.c +++ b/drivers/mmc/host/wmt-sdmmc.c @@ -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; |