mbox series

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

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

Message

Andy Shevchenko Oct. 8, 2024, 5:27 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 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(-)

Comments

Andy Shevchenko Oct. 31, 2024, 10:57 a.m. UTC | #1
On Tue, Oct 08, 2024 at 08:27:43PM +0300, Andy Shevchenko wrote:
> 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 v2:
> - updated the commit messages (Frank)

Hmm, any comments on this?