Skip to content

mtd: rawnand: cadence: improvement and fixes

[email protected] linux-mtd lkml stable 3 versions – Applied

Status from this message: Applied to mtd/fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v23 patches 19 repliesSuperseded
  3. v13 patches 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3mtd: rawnand: cadence: fix error code in cadence_nand_init()drivers/mtd/nand/raw/cadence-nand-controller.c+4 -50 replies
2/3mtd: rawnand: cadence: use dma_map_resource for sdma addressdrivers/mtd/nand/raw/cadence-nand-controller.c+25 -40 replies
3/3mtd: rawnand: cadence: fix incorrect device in dma_unmap_singledrivers/mtd/nand/raw/cadence-nand-controller.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] mtd: rawnand: cadence: improvement and fixes

From: Niravkumar L Rabara <[email protected]>

This patchset introduces improvements and fixes for cadence nand driver. The changes include:

1. Replace dma_request_channel() with dma_request_chan_by_mask() and use helper functions to return proper error code instead of fixed -EBUSY.
2. Remap the slave DMA I/O resources to enhance driver portability.
3. Fixed dma_unmap_single to use correct physical/bus device.

v3 changes:-
* Update commit message based on v2 review feedback for better clarity.
* Use dma_request_chan_by_mask() and helper functions to return proper error code instead of fixed -EBUSY error code.

link to v2:
- https://lore.kernel.org/all/[email protected]/

v2 changes:-
* Added the missing Fixes and Cc: stable tags to the patches.

link to v1:
- https://lore.kernel.org/all/[email protected]/

Niravkumar L Rabara (3):
mtd: rawnand: cadence: fix error code in cadence_nand_init()
mtd: rawnand: cadence: use dma_map_resource for sdma address
mtd: rawnand: cadence: fix incorrect device in dma_unmap_single

 .../mtd/nand/raw/cadence-nand-controller.c    | 42 ++++++++++++++-----
 1 file changed, 31 insertions(+), 11 deletions(-)
Signature · 1 line
2.25.1