[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ae959a4-a765-9c3b-4e61-53b7a830709a@nvidia.com>
Date: Thu, 14 Nov 2019 07:06:14 +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 8/9] spi: tegra114: 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-tegra114.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c
> index e6a450d9b4f0..fc40ab146c86 100644
> --- a/drivers/spi/spi-tegra114.c
> +++ b/drivers/spi/spi-tegra114.c
> @@ -666,8 +666,7 @@ static int tegra_spi_init_dma_param(struct tegra_spi_data *tspi,
> dma_addr_t dma_phys;
> int ret;
>
> - 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