commit | 735404b846dffcb320264f62b76e6f70012214dd | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Wed Jan 08 10:08:01 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jan 12 11:34:09 2020 +0000 |
tree | 2563970ae631dc8ed95d655626f509e144544710 | |
parent | a9ab624edd9186fbad734cfe5d606a6da3ca34db [diff] |
iio: adc: stm32-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. By using dma_request_chan() directly the driver can support deferred probing against DMA. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>