Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1416939

Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

From Vignesh R <vigneshr@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read
Date 2016-06-08 09:00 +0200
Message-ID <rHFD4-58f-15@gated-at.bofh.it> (permalink)
References <rHkoW-gO-9@gated-at.bofh.it> <rHkoW-gO-29@gated-at.bofh.it> <rHlkZ-PT-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read Vignesh R <vigneshr@ti.com> - 2016-06-07 10:20 +0200
  Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap  read Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-06-07 11:20 +0200
    Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap  read Vignesh R <vigneshr@ti.com> - 2016-06-08 09:00 +0200

csiph-web