iio: buffer-dmaengine: Use dma_request_chan() directly for channel request
PATCH 1/1 iio: buffer-dmaengine: Use dma_request_chan() directly for channel request
dma_request_slave_channel_reason() is:
#define dma_request_slave_channel_reason(dev, name) \
dma_request_chan(dev, name)
--- drivers/iio/buffer/industrialio-buffer-dmaengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/buffer/industrialio-buffer-dmaengine.c +1 -1
@@ -150,7 +150,7 @@ struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,if (!dmaengine_buffer)return ERR_PTR (-ENOMEM ); - chan =dma_request_slave_channel_reason (dev, channel); + chan =dma_request_chan (dev, channel);if (IS_ERR (chan)) { ret =PTR_ERR (chan); goto err_free;
Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Quoted 3 lines · Peter Ujfalusi
dma_request_slave_channel_reason()is:
#definedma_request_slave_channel_reason(dev, name)\
dma_request_chan(dev, name)
Signature · 1 line
~Vinod
Jonathan Cameron
maintainerQuoted 7 lines · On Thu, 14 Nov 2019 10:03:18 +0530 Vinod Koul <[email protected]> wrote:
Quoted 3 lines · Peter Ujfalusi
dma_request_slave_channel_reason()is:
#definedma_request_slave_channel_reason(dev, name)\
dma_request_chan(dev, name)Reviewed-by Vinod Koul <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan
Jonathan,
Quoted 8 lines · Jonathan Cameron
Quoted 5 lines · On Thu, 14 Nov 2019 10:03:18 +0530 Vinod Koul <[email protected]> wrote:
Quoted 3 lines · Peter Ujfalusi
dma_request_slave_channel_reason()is:
#definedma_request_slave_channel_reason(dev, name)\
dma_request_chan(dev, name)
Quoted 5 lines
Quoted 2 lines
Reviewed-by Vinod Koul <[email protected]>Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
The sole user in mainline for dma_request_slave_channel_reason() is industrialio-buffer-dmaengine.c (since v5.5-rc1, 5.4 had 36 users).
Are you planning to queue this patch for 5.6 (not sure if it could be sent to -rc6) so I can retire it from the dmaengine.h?
Regards,
- Péter
Quoted 5 lines
Thanks,
Jonathan
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Quoted 14 lines · On Tue, 7 Jan 2020 14:19:43 +0200 Peter Ujfalusi <[email protected]> wrote:
Jonathan,
Quoted 11 lines · Jonathan Cameron
Quoted 7 lines · On Thu, 14 Nov 2019 10:03:18 +0530 Vinod Koul <[email protected]> wrote:
Quoted 3 lines · Peter Ujfalusi
dma_request_slave_channel_reason()is:
#definedma_request_slave_channel_reason(dev, name)\
dma_request_chan(dev, name)Reviewed-by Vinod Koul <[email protected]>
Quoted 8 lines
Quoted 2 lines
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
The sole user in mainline for
dma_request_slave_channel_reason()isindustrialio-buffer-dmaengine.c(since v5.5-rc1, 5.4 had 36 users).Are you planning to queue this patch for 5.6 (not sure if it could be sent to -rc6) so I can retire it from the
dmaengine.h?
It's queued up for the 5.6 merge window.
Jonathan
Quoted 12 lines
Regards,
- PéterQuoted 5 lines
Thanks,
Jonathan
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki