linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mms: Use dma_request_chan() directly for channel request
@ 2019-11-13  9:36 Peter Ujfalusi
  2019-11-13  9:36 ` [PATCH 1/2] mmc: atmel-mci: " Peter Ujfalusi
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2019-11-13  9:36 UTC (permalink / raw)
  To: ulf.hansson, ludovic.desroches
  Cc: vkoul, linux-mmc, linux-arm-kernel, linux-kernel, nicolas.ferre,
	alexandre.belloni

Hi,

I'm going through the tree to remove dma_request_slave_channel_reason() as it
is just:
#define dma_request_slave_channel_reason(dev, name) \
	dma_request_chan(dev, name)

Regards,
Peter
---
Peter Ujfalusi (2):
  mmc: atmel-mci: Use dma_request_chan() directly for channel request
  mmc: moxart: Use dma_request_chan() directly for channel request

 drivers/mmc/host/atmel-mci.c  | 3 +--
 drivers/mmc/host/moxart-mmc.c | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

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

* [PATCH 1/2] mmc: atmel-mci: Use dma_request_chan() directly for channel request
  2019-11-13  9:36 [PATCH 0/2] mms: Use dma_request_chan() directly for channel request Peter Ujfalusi
@ 2019-11-13  9:36 ` Peter Ujfalusi
  2019-11-13 13:34   ` Ludovic.Desroches
  2019-11-13  9:36 ` [PATCH 2/2] mmc: moxart: " Peter Ujfalusi
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Peter Ujfalusi @ 2019-11-13  9:36 UTC (permalink / raw)
  To: ulf.hansson, ludovic.desroches
  Cc: vkoul, linux-mmc, linux-arm-kernel, linux-kernel, nicolas.ferre,
	alexandre.belloni

dma_request_slave_channel_reason() is:
#define dma_request_slave_channel_reason(dev, name) \
	dma_request_chan(dev, name)

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 drivers/mmc/host/atmel-mci.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 34c992d87529..6f065bb5c55a 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -2347,8 +2347,7 @@ static void atmci_cleanup_slot(struct atmel_mci_slot *slot,
 
 static int atmci_configure_dma(struct atmel_mci *host)
 {
-	host->dma.chan = dma_request_slave_channel_reason(&host->pdev->dev,
-							"rxtx");
+	host->dma.chan = dma_request_chan(&host->pdev->dev, "rxtx");
 
 	if (PTR_ERR(host->dma.chan) == -ENODEV) {
 		struct mci_platform_data *pdata = host->pdev->dev.platform_data;
-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

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

* [PATCH 2/2] mmc: moxart: Use dma_request_chan() directly for channel request
  2019-11-13  9:36 [PATCH 0/2] mms: Use dma_request_chan() directly for channel request Peter Ujfalusi
  2019-11-13  9:36 ` [PATCH 1/2] mmc: atmel-mci: " Peter Ujfalusi
@ 2019-11-13  9:36 ` Peter Ujfalusi
  2019-11-14  4:33 ` [PATCH 0/2] mms: " Vinod Koul
  2019-11-14 12:53 ` Ulf Hansson
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2019-11-13  9:36 UTC (permalink / raw)
  To: ulf.hansson, ludovic.desroches
  Cc: vkoul, linux-mmc, linux-arm-kernel, linux-kernel, nicolas.ferre,
	alexandre.belloni

dma_request_slave_channel_reason() is:
#define dma_request_slave_channel_reason(dev, name) \
	dma_request_chan(dev, name)

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 drivers/mmc/host/moxart-mmc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c
index a0670e9cd012..fc6b9cf27d0b 100644
--- a/drivers/mmc/host/moxart-mmc.c
+++ b/drivers/mmc/host/moxart-mmc.c
@@ -608,8 +608,8 @@ static int moxart_probe(struct platform_device *pdev)
 	host->timeout = msecs_to_jiffies(1000);
 	host->sysclk = clk_get_rate(clk);
 	host->fifo_width = readl(host->base + REG_FEATURE) << 2;
-	host->dma_chan_tx = dma_request_slave_channel_reason(dev, "tx");
-	host->dma_chan_rx = dma_request_slave_channel_reason(dev, "rx");
+	host->dma_chan_tx = dma_request_chan(dev, "tx");
+	host->dma_chan_rx = dma_request_chan(dev, "rx");
 
 	spin_lock_init(&host->lock);
 
-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

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

* Re: [PATCH 1/2] mmc: atmel-mci: Use dma_request_chan() directly for channel request
  2019-11-13  9:36 ` [PATCH 1/2] mmc: atmel-mci: " Peter Ujfalusi
@ 2019-11-13 13:34   ` Ludovic.Desroches
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic.Desroches @ 2019-11-13 13:34 UTC (permalink / raw)
  To: peter.ujfalusi
  Cc: ulf.hansson, vkoul, linux-mmc, linux-arm-kernel, linux-kernel,
	Nicolas.Ferre, alexandre.belloni

On Wed, Nov 13, 2019 at 11:36:15AM +0200, Peter Ujfalusi wrote:
> 
> dma_request_slave_channel_reason() is:
> #define dma_request_slave_channel_reason(dev, name) \
> 	dma_request_chan(dev, name)
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>

Thanks
> ---
>  drivers/mmc/host/atmel-mci.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
> index 34c992d87529..6f065bb5c55a 100644
> --- a/drivers/mmc/host/atmel-mci.c
> +++ b/drivers/mmc/host/atmel-mci.c
> @@ -2347,8 +2347,7 @@ static void atmci_cleanup_slot(struct atmel_mci_slot *slot,
>  
>  static int atmci_configure_dma(struct atmel_mci *host)
>  {
> -	host->dma.chan = dma_request_slave_channel_reason(&host->pdev->dev,
> -							"rxtx");
> +	host->dma.chan = dma_request_chan(&host->pdev->dev, "rxtx");
>  
>  	if (PTR_ERR(host->dma.chan) == -ENODEV) {
>  		struct mci_platform_data *pdata = host->pdev->dev.platform_data;
> -- 
> Peter
> 
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
> 
> 

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

* Re: [PATCH 0/2] mms: Use dma_request_chan() directly for channel request
  2019-11-13  9:36 [PATCH 0/2] mms: Use dma_request_chan() directly for channel request Peter Ujfalusi
  2019-11-13  9:36 ` [PATCH 1/2] mmc: atmel-mci: " Peter Ujfalusi
  2019-11-13  9:36 ` [PATCH 2/2] mmc: moxart: " Peter Ujfalusi
@ 2019-11-14  4:33 ` Vinod Koul
  2019-11-14 12:53 ` Ulf Hansson
  3 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2019-11-14  4:33 UTC (permalink / raw)
  To: Peter Ujfalusi
  Cc: ulf.hansson, ludovic.desroches, linux-mmc, linux-arm-kernel,
	linux-kernel, nicolas.ferre, alexandre.belloni

On 13-11-19, 11:36, Peter Ujfalusi wrote:
> Hi,
> 
> I'm going through the tree to remove dma_request_slave_channel_reason() as it
> is just:
> #define dma_request_slave_channel_reason(dev, name) \
> 	dma_request_chan(dev, name)

Reviewed-by: Vinod Koul <vkoul@kernel.org>

-- 
~Vinod

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

* Re: [PATCH 0/2] mms: Use dma_request_chan() directly for channel request
  2019-11-13  9:36 [PATCH 0/2] mms: Use dma_request_chan() directly for channel request Peter Ujfalusi
                   ` (2 preceding siblings ...)
  2019-11-14  4:33 ` [PATCH 0/2] mms: " Vinod Koul
@ 2019-11-14 12:53 ` Ulf Hansson
  3 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2019-11-14 12:53 UTC (permalink / raw)
  To: Peter Ujfalusi
  Cc: Ludovic Desroches, vkoul, linux-mmc, Linux ARM,
	Linux Kernel Mailing List, Nicolas Ferre, Alexandre Belloni

On Wed, 13 Nov 2019 at 10:35, Peter Ujfalusi <peter.ujfalusi@ti.com> wrote:
>
> Hi,
>
> I'm going through the tree to remove dma_request_slave_channel_reason() as it
> is just:
> #define dma_request_slave_channel_reason(dev, name) \
>         dma_request_chan(dev, name)
>
> Regards,
> Peter
> ---
> Peter Ujfalusi (2):
>   mmc: atmel-mci: Use dma_request_chan() directly for channel request
>   mmc: moxart: Use dma_request_chan() directly for channel request
>
>  drivers/mmc/host/atmel-mci.c  | 3 +--
>  drivers/mmc/host/moxart-mmc.c | 4 ++--
>  2 files changed, 3 insertions(+), 4 deletions(-)

Applied for next, thanks!

Kind regards
Uffe

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

end of thread, other threads:[~2019-11-14 12:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13  9:36 [PATCH 0/2] mms: Use dma_request_chan() directly for channel request Peter Ujfalusi
2019-11-13  9:36 ` [PATCH 1/2] mmc: atmel-mci: " Peter Ujfalusi
2019-11-13 13:34   ` Ludovic.Desroches
2019-11-13  9:36 ` [PATCH 2/2] mmc: moxart: " Peter Ujfalusi
2019-11-14  4:33 ` [PATCH 0/2] mms: " Vinod Koul
2019-11-14 12:53 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).