]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio: adc: at91-sama5d2_adc: Use dma_request_chan() instead dma_request_slave_channel()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 7 Jan 2020 11:37:29 +0000 (13:37 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Jan 2020 11:34:11 +0000 (11:34 +0000)
commit687d39d4512aa5f644450d0662f40aeeac1e84a7
tree3089bc72ce1f67c6622112ab97052a22e74554fc
parent735404b846dffcb320264f62b76e6f70012214dd
iio: adc: at91-sama5d2_adc: Use dma_request_chan() instead dma_request_slave_channel()

dma_request_slave_channel() is a wrapper on top of dma_request_chan()
eating up the error code.

The dma_request_chan() is the standard API to request slave channel,
clients should be moved away from the legacy API to allow us to retire
them.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/at91-sama5d2_adc.c