lkml.org 
[lkml]   [2019]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 9/9] spi: tegra20-slink: Use dma_request_chan() directly for channel request
From
Date

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@ti.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@nvidia.com>

Cheers!
Jon

--
nvpublic

\
 
 \ /
  Last update: 2019-11-14 08:07    [W:0.232 / U:1.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site