diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-27 20:58:31 -0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 08:40:40 -0400 |
commit | 6f243f6334f5f7126b3d91305b115d1628664440 (patch) | |
tree | 6903bf4d3c9c3c633f3d84f6613586c6f517df46 /drivers/mmc | |
parent | 03a16853401dcbb1495e7aef6f72b5281c3159e7 (diff) |
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')
-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) | |||
840 | priv->dma_desc_buffer = dma_alloc_coherent(&pdev->dev, | 840 | priv->dma_desc_buffer = dma_alloc_coherent(&pdev->dev, |
841 | mmc->max_blk_count * 16, | 841 | mmc->max_blk_count * 16, |
842 | &priv->dma_desc_device_addr, | 842 | &priv->dma_desc_device_addr, |
843 | 208); | 843 | GFP_KERNEL); |
844 | if (!priv->dma_desc_buffer) { | 844 | if (!priv->dma_desc_buffer) { |
845 | dev_err(&pdev->dev, "DMA alloc fail\n"); | 845 | dev_err(&pdev->dev, "DMA alloc fail\n"); |
846 | ret = -EPERM; | 846 | ret = -EPERM; |