Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read
From: Vignesh R
Date: Wed Jun 08 2016 - 02:53:53 EST
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