mbox series

[v3,0/4] dmaengine: dma_request_chan*() amendments

Message ID 20250205145757.889247-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series dmaengine: dma_request_chan*() amendments | expand

Message

Andy Shevchenko Feb. 5, 2025, 2:57 p.m. UTC
Reduce the scope of the use of some rarely used DMA request channel APIs
in order to make the step of their removal or making static in the
future. No functional changes intended.

In v3:
- rebased on top of v6.14-rc1

In v2:
- updated the commit messages (Frank)

Andy Shevchenko (4):
  dmaengine: Replace dma_request_slave_channel() by dma_request_chan()
  dmaengine: Use dma_request_channel() instead of
    __dma_request_channel()
  dmaengine: Add a comment on why it's okay when kasprintf() fails
  dmaengine: Unify checks in dma_request_chan()

 drivers/dma/dmaengine.c   | 16 ++++++++--------
 drivers/dma/imx-sdma.c    |  5 ++---
 include/linux/dmaengine.h |  6 +++---
 3 files changed, 13 insertions(+), 14 deletions(-)