lkml.org 
[lkml]   [2016]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read
From
Date


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

\
 
 \ /
  Last update: 2016-06-08 09:21    [W:0.072 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site