diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2019-12-12 15:55:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-12-16 11:58:28 +0000 |
commit | 0a454258febb73e4c60d7f5d9a02d1a8c64fdfb8 (patch) | |
tree | e9a99c76a15afd65977c3f55857ed2f82ce4e48a /drivers/spi/spi-gpio.c | |
parent | 658606ff4cf680ca97380f6ed7295722b0e991b2 (diff) | |
download | linux-0a454258febb73e4c60d7f5d9a02d1a8c64fdfb8.tar.bz2 |
spi: stm32: 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>
Link: https://lore.kernel.org/r/20191212135550.4634-10-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions