All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2014-04-28  0:58 ` Axel Lin
  0 siblings, 0 replies; 7+ 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] 7+ messages in thread

* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2014-04-28  0:58 ` Axel Lin
  0 siblings, 0 replies; 7+ messages in thread
From: Axel Lin @ 2014-04-28  0:58 UTC (permalink / raw)
  To: linux-arm-kernel

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] 7+ messages in thread

* Re: [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
  -1 siblings, 0 replies; 7+ messages in thread
From: Axel Lin @ 2014-05-14 11:01 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson; +Cc: Tony Prisk, linux-arm-kernel, linux-mmc

2014-04-28 8:58 GMT+08:00 Axel Lin <axel.lin@ingics.com>:
> 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);

Hi Ulf,
This is a pretty trivial patch.
Would you pick up this patch?

Regards,
Axel

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

* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2014-05-14 11:01   ` Axel Lin
  0 siblings, 0 replies; 7+ messages in thread
From: Axel Lin @ 2014-05-14 11:01 UTC (permalink / raw)
  To: linux-arm-kernel

2014-04-28 8:58 GMT+08:00 Axel Lin <axel.lin@ingics.com>:
> 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);

Hi Ulf,
This is a pretty trivial patch.
Would you pick up this patch?

Regards,
Axel

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

* Re: [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
  2014-05-14 11:01   ` Axel Lin
@ 2014-05-14 11:13     ` Ulf Hansson
  -1 siblings, 0 replies; 7+ messages in thread
From: Ulf Hansson @ 2014-05-14 11:13 UTC (permalink / raw)
  To: Axel Lin; +Cc: Chris Ball, Tony Prisk, linux-arm-kernel, linux-mmc

On 14 May 2014 13:01, Axel Lin <axel.lin@ingics.com> wrote:
> 2014-04-28 8:58 GMT+08:00 Axel Lin <axel.lin@ingics.com>:
>> 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);
>
> Hi Ulf,
> This is a pretty trivial patch.
> Would you pick up this patch?

Done.

Kind regards
Ulf Hansson

>
> Regards,
> Axel

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

* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2014-05-14 11:13     ` Ulf Hansson
  0 siblings, 0 replies; 7+ messages in thread
From: Ulf Hansson @ 2014-05-14 11:13 UTC (permalink / raw)
  To: linux-arm-kernel

On 14 May 2014 13:01, Axel Lin <axel.lin@ingics.com> wrote:
> 2014-04-28 8:58 GMT+08:00 Axel Lin <axel.lin@ingics.com>:
>> 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);
>
> Hi Ulf,
> This is a pretty trivial patch.
> Would you pick up this patch?

Done.

Kind regards
Ulf Hansson

>
> Regards,
> Axel

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

* [PATCH] mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
@ 2013-10-18  3:53 Axel Lin
  0 siblings, 0 replies; 7+ 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] 7+ messages in thread

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

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.