Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: Intel: hda-sdw-bpt: set persistent_buffer false

The persistent_buffer agreement is false when hda_cl_prepare() is
called. We should use the same value when hda_cl_cleanup() is called.

Fixes: 5d5cb86fb46ea ("ASoC: SOF: Intel: hda-sdw-bpt: add helpers for SoundWire BPT DMA")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250915024853.1153518-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
8b184c34 59ba1088

+1 -1
+1 -1
sound/soc/sof/intel/hda-sdw-bpt.c
··· 150 150 u32 mask; 151 151 int ret; 152 152 153 - ret = hda_cl_cleanup(sdev->dev, dmab_bdl, true, sdw_bpt_stream); 153 + ret = hda_cl_cleanup(sdev->dev, dmab_bdl, false, sdw_bpt_stream); 154 154 if (ret < 0) { 155 155 dev_err(sdev->dev, "%s: SDW BPT DMA cleanup failed\n", 156 156 __func__);