[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45f7645b-0272-cbfa-51ed-0e75844f180d@nvidia.com>
Date: Thu, 14 Nov 2019 07:06:31 +0000
From: Jon Hunter <jonathanh@...dia.com>
To: Peter Ujfalusi <peter.ujfalusi@...com>, <broonie@...nel.org>,
<radu_nicolae.pirea@....ro>, <shawnguo@...nel.org>,
<s.hauer@...gutronix.de>, <linus.walleij@...aro.org>,
<agross@...nel.org>, <bjorn.andersson@...aro.org>,
<andi@...zian.org>, <ldewangan@...dia.com>,
<thierry.reding@...il.com>
CC: <vkoul@...nel.org>, <linux-spi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <alexandre.belloni@...tlin.com>,
<linux-arm-msm@...r.kernel.org>, <kgene@...nel.org>,
<krzk@...nel.org>, <linux-tegra@...r.kernel.org>
Subject: Re: [PATCH 9/9] spi: tegra20-slink: Use dma_request_chan() directly
for channel request
On 13/11/2019 09:42, 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@...com>
> ---
> drivers/spi/spi-tegra20-slink.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c
> index 111fffc91435..51573f41ed12 100644
> --- a/drivers/spi/spi-tegra20-slink.c
> +++ b/drivers/spi/spi-tegra20-slink.c
> @@ -599,8 +599,7 @@ static int tegra_slink_init_dma_param(struct tegra_slink_data *tspi,
> int ret;
> struct dma_slave_config dma_sconfig;
>
> - dma_chan = dma_request_slave_channel_reason(tspi->dev,
> - dma_to_memory ? "rx" : "tx");
> + dma_chan = dma_request_chan(tspi->dev, dma_to_memory ? "rx" : "tx");
> if (IS_ERR(dma_chan)) {
> ret = PTR_ERR(dma_chan);
> if (ret != -EPROBE_DEFER)
>
Acked-by: Jon Hunter <jonathanh@...dia.com>
Cheers!
Jon
--
nvpublic
Powered by blists - more mailing lists