]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: dmaengine_pcm: Add port_window_size to DAI dma data struct
authorChancel Liu <chancel.liu@nxp.com>
Fri, 8 Aug 2025 06:17:41 +0000 (15:17 +0900)
committerMark Brown <broonie@kernel.org>
Sun, 10 Aug 2025 20:09:12 +0000 (21:09 +0100)
commit32dffd4c3e3129e3d9bb378af8d80bb57dc3038b
treeaa444d619e27594569bfeef8d2a6c10ba3af0b52
parent605d902bb6b6f5b12a5baeaca0dc359ced7685cb
ASoC: dmaengine_pcm: Add port_window_size to DAI dma data struct

The port_window_size is a struct member of dma slave channel runtime
config. It's the length of the register area in words the data need to
be accessed on the device side. It is only used for devices which is
using an area instead of a single register to send or receive the data.
Typically the DMA loops in this area in order to transfer the data.

It's useful for cases that reading/writing multiple registers in DMA
transactions.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20250808061741.187414-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/dmaengine_pcm.h
sound/core/pcm_dmaengine.c