Thread (11 messages) flat view 11 messages, 3 authors, 1d ago

Re: [PATCH v3 1/4] dmaengine: vchan: add vchan_chan_name() to get channel device name

From: Amelie Delaunay <amelie.delaunay@foss.st.com>
Date: 2026-09-07 09:00:49
Also in: dmaengine, imx, linux-arm-kernel, linux-sunxi, linux-tegra, linux-trace-kernel, lkml


On 9/4/26 23:49, Frank.Li@oss.nxp.com wrote:
From: Frank Li<Frank.Li@nxp.com>

Introduce vchan_chan_name() to obtain the DMA channel device name.

Use a dedicated helper instead of directly accessing dma_chan::dev
so callers remain unaffected by an upcoming rename of the struct member.

Signed-off-by: Frank Li<Frank.Li@nxp.com>
Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com> # For STM32
---
  drivers/dma/arm-dma350.c                     |  2 +-
  drivers/dma/loongson/loongson2-apb-cmc-dma.c |  2 +-
  drivers/dma/stm32/stm32-dma.c                |  2 +-
  drivers/dma/stm32/stm32-dma3.c               |  4 ++--
  drivers/dma/virt-dma.h                       | 11 +++++++++++
  5 files changed, 16 insertions(+), 5 deletions(-)
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help