lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] spi: Use dma_request_chan() instead dma_request_slave_channel()
Date
Hi,

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

With dma_request_chan() drivers can receive the real error code and can support
deferred probing against DMA.

The series has been compile tested only (allyesconfig).

Regards,
Peter
---
Peter Ujfalusi (9):
spi: atmel: Use dma_request_chan() instead dma_request_slave_channel()
spi: bcm2835: Release the DMA channel if probe fails after dma_init
spi: bcm2835: Use dma_request_chan() instead
dma_request_slave_channel()
spi: img-spfi: Use dma_request_chan() instead
dma_request_slave_channel()
spi: mxs: Use dma_request_chan() instead dma_request_slave_channel()
spi: sirf: Use dma_request_chan() instead dma_request_slave_channel()
spi: spi-fsl-dspi: Use dma_request_chan() instead
dma_request_slave_channel()
spi: stm32-qspi: Use dma_request_chan() instead
dma_request_slave_channel()
spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()

drivers/spi/spi-atmel.c | 29 ++++++++++----------------
drivers/spi/spi-bcm2835.c | 40 +++++++++++++++++++++++++-----------
drivers/spi/spi-fsl-dspi.c | 12 +++++------
drivers/spi/spi-img-spfi.c | 18 ++++++++++++++--
drivers/spi/spi-mxs.c | 6 +++---
drivers/spi/spi-sirf.c | 12 +++++------
drivers/spi/spi-stm32-qspi.c | 30 +++++++++++++++++++++------
drivers/spi/spi-stm32.c | 32 ++++++++++++++++++++---------
8 files changed, 116 insertions(+), 63 deletions(-)

--
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

\
 
 \ /
  Last update: 2019-12-12 14:57    [W:0.080 / U:57.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site