linux-imx/sound/soc
Peter Ujfalusi 414f5028f1 ASoC: SOF: ipc4-topology: Preserve the DMA Link ID for ChainDMA on unprepare
commit e6fc5fcaef upstream.

The DMA Link ID is set to the IPC message's primary during dai_config,
which is only during hw_params.
During xrun handling the hw_params is not called and the DMA Link ID
information will be lost.

All other fields in the message expected to be 0 for re-configuration, only
the DMA Link ID needs to be preserved and the in case of repeated
dai_config, it is correctly updated (masked and then set).

Cc: stable@vger.kernel.org
Fixes: ca5ce0caa6 ("ASoC: SOF: ipc4/intel: Add support for chained DMA")
Link: https://github.com/thesofproject/linux/issues/5116
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240724081932.24542-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-03 08:54:24 +02:00
..
adi
amd ASoC: amd: Adjust error handling in case of absent codec device 2024-08-03 08:54:00 +02:00
apple
atmel ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init 2024-07-05 09:33:45 +02:00
au1x
bcm
cirrus
codecs ASoC: max98088: Check for clk_prepare_enable() error 2024-08-03 08:54:00 +02:00
dwc
fsl ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value 2024-08-03 08:54:22 +02:00
generic
google
hisilicon
img
intel bytcr_rt5640 : inverse jack detect for Archos 101 cesium 2024-07-25 09:50:49 +02:00
jz4740
kirkwood ASoC: kirkwood: Fix potential NULL dereference 2024-06-12 11:11:58 +02:00
loongson
mediatek ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision 2024-07-05 09:33:44 +02:00
meson
mxs
pxa
qcom ASoC: qcom: Adjust issues in case of DT error in asoc_qcom_lpass_cpu_platform_probe() 2024-08-03 08:53:59 +02:00
rockchip ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk 2024-07-05 09:33:44 +02:00
samsung
sh
sof ASoC: SOF: ipc4-topology: Preserve the DMA Link ID for ChainDMA on unprepare 2024-08-03 08:54:24 +02:00
spear
sprd
starfive
sti
stm
sunxi
tegra
ti ASoC: ti: omap-hdmi: Fix too long driver name 2024-07-25 09:50:49 +02:00
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c
soc-core.c
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c ALSA: dmaengine: Synchronize dma channel after drop() 2024-07-25 09:50:49 +02:00
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c
soc-topology-test.c
soc-topology.c ASoC: topology: Do not assign fields that are already set 2024-07-25 09:50:49 +02:00
soc-utils-test.c
soc-utils.c