mbox series

[RESEND,v3,0/2] dmaengine: axi-dmac: move to device managed probe

Message ID 20240229-axi-dmac-devm-probe-v3-0-f0e78d2ab5b1@analog.com (mailing list archive)
Headers show
Series dmaengine: axi-dmac: move to device managed probe | expand


Nuno Sa Feb. 29, 2024, 4:23 p.m. UTC
Added a new patch so we can easily backport a possible race in the
unbind path.

Vinod, I'm just resending these patches. I applied and compiled them on
top of the next branch. Tip in:

716141d366f4 ("dmaengine: of: constify of_phandle_args in of_dma_find_controller()") 

Changes in v3:
- Patch 1
  * New patch.
- Patch 2
  * Updated commit message (request_irq() is no longer moved).
- Link to v2: https://lore.kernel.org/r/20240219-axi-dmac-devm-probe-v2-1-1a6737294f69@analog.com

Changes in v2:
- Keep devm_request_irq() after of_dma_controller_register() so we free
  the irq first and avoid any possible race agains
- Link to v1: https://lore.kernel.org/r/20240214-axi-dmac-devm-probe-v1-1-22d633da19cb@analog.com

Nuno Sa (2):
      dmaengine: axi-dmac: fix possible race in remove()
      dmaengine: axi-dmac: move to device managed probe

 drivers/dma/dma-axi-dmac.c | 78 ++++++++++++++++++++--------------------------
 1 file changed, 34 insertions(+), 44 deletions(-)
base-commit: 716141d366f45d62ffe4dd53a045867b26e29d19
change-id: 20240214-axi-dmac-devm-probe-d718ef36fb58

- Nuno Sá