public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2013-10-18  3:53 Axel Lin
  0 siblings, 0 replies; 4+ messages in thread
From: Axel Lin @ 2013-10-18  3:53 UTC (permalink / raw)
  To: Chris Ball; +Cc: Tony Prisk, linux-mmc

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/mmc/host/wmt-sdmmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
index 34231d5..3605c37 100644
--- a/drivers/mmc/host/wmt-sdmmc.c
+++ b/drivers/mmc/host/wmt-sdmmc.c
@@ -852,7 +852,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;
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2014-04-28  0:58 Axel Lin
  2014-05-14 11:01 ` Axel Lin
  0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2014-04-28  0:58 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson; +Cc: Tony Prisk, linux-arm-kernel, linux-mmc

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/mmc/host/wmt-sdmmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
index 34231d5..3605c37 100644
--- a/drivers/mmc/host/wmt-sdmmc.c
+++ b/drivers/mmc/host/wmt-sdmmc.c
@@ -852,7 +852,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;
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-14 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18  3:53 [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value Axel Lin
  -- strict thread matches above, loose matches on Subject: below --
2014-04-28  0:58 Axel Lin
2014-05-14 11:01 ` Axel Lin
2014-05-14 11:13   ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox