linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <Ludovic.Desroches@microchip.com>
To: peter.ujfalusi@ti.com
Cc: ulf.hansson@linaro.org, vkoul@kernel.org,
	linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Nicolas.Ferre@microchip.com,
	alexandre.belloni@bootlin.com
Subject: Re: [PATCH 1/2] mmc: atmel-mci: Use dma_request_chan() directly for channel request
Date: Wed, 13 Nov 2019 13:34:29 +0000	[thread overview]
Message-ID: <20191113133417.zrz5zcwuyxjskaes@M43218.corp.atmel.com> (raw)
In-Reply-To: <20191113093616.32474-2-peter.ujfalusi@ti.com>

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
> 
> 

  reply	other threads:[~2019-11-13 13:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191113133417.zrz5zcwuyxjskaes@M43218.corp.atmel.com \
    --to=ludovic.desroches@microchip.com \
    --cc=Nicolas.Ferre@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=peter.ujfalusi@ti.com \
    --cc=ulf.hansson@linaro.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).