mbox series

[0/7] mtd: rawnand: Convert drivers to use dma_request_chan()

Message ID 20200227123749.24064-1-peter.ujfalusi@ti.com
Headers show
Series mtd: rawnand: Convert drivers to use dma_request_chan() | expand

Message

Peter Ujfalusi Feb. 27, 2020, 12:37 p.m. UTC
Hi,

With dma_request_chan() drivers can know why the channel request failed and
depending on how they are implemented can handle the failure in a best effort,
either deferring or falling back to PIO mode.

Regards,
Peter
---
Peter Ujfalusi (7):
  mtd: rawnand: gpmi: Use dma_request_chan() instead
    dma_request_slave_channel()
  mtd: rawnand: marvell: Release DMA channel on error
  mtd: rawnand: marvell: Use dma_request_chan() instead
    dma_request_slave_channel()
  mtd: rawnand: sunxi: Use dma_request_chan() instead
    dma_request_slave_channel()
  mtd: rawnand: qcom: Release resources on failure within
    qcom_nandc_alloc()
  mtd: rawnand: qcom: Use dma_request_chan() instead
    dma_request_slave_channel()
  mtd: rawnand: stm32_fmc2: Use dma_request_chan() instead
    dma_request_slave_channel()

 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c |  21 +++--
 drivers/mtd/nand/raw/marvell_nand.c        |  38 +++++---
 drivers/mtd/nand/raw/qcom_nandc.c          | 105 +++++++++++++--------
 drivers/mtd/nand/raw/stm32_fmc2_nand.c     |  44 +++++++--
 drivers/mtd/nand/raw/sunxi_nand.c          |  15 ++-
 5 files changed, 149 insertions(+), 74 deletions(-)

-- 
Peter

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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/