projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03a1685
)
mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
author
Axel Lin
<axel.lin@ingics.com>
Mon, 28 Apr 2014 00:58:31 +0000
(08:58 +0800)
committer
Chris 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/wmt-sdmmc.c
b/drivers/mmc/host/wmt-sdmmc.c
index 498d1f79908574144408536fa9488ad5f0d0c39f..282891a8e451e77040faaf26e5267e70595cc4ba 100644
(file)
--- 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;