[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5757C0F6.20906@ti.com>
Date: Wed, 8 Jun 2016 12:23:42 +0530
From: Vignesh R <vigneshr@...com>
To: Peter Ujfalusi <peter.ujfalusi@...com>,
Mark Brown <broonie@...nel.org>
CC: <linux-spi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-omap@...r.kernel.org>
Subject: Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap
read
On Tuesday 07 June 2016 02:47 PM, Peter Ujfalusi wrote:
[...]
>> @@ -637,6 +770,33 @@ static int ti_qspi_probe(struct platform_device *pdev)
>> if (ret)
>> goto free_master;
>>
>> + dma_cap_zero(mask);
>> + dma_cap_set(DMA_MEMCPY, mask);
>> +
>> + qspi->rx_chan = dma_request_channel(mask, NULL, NULL);
>
> dma_request_channel is deprecated, please use the:
> dma_request_chan_by_mask()
>
Updated to use dma_request_chan_by_mask() in v4, Thanks.
--
Regards
Vignesh
Powered by blists - more mailing lists