Skip to content

Commit 8b184c3

Browse files
bardliaobroonie
authored andcommitted
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: 5d5cb86 ("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>
1 parent 59ba108 commit 8b184c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/sof/intel/hda-sdw-bpt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static int hda_sdw_bpt_dma_deprepare(struct device *dev, struct hdac_ext_stream
150150
u32 mask;
151151
int ret;
152152

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);
154154
if (ret < 0) {
155155
dev_err(sdev->dev, "%s: SDW BPT DMA cleanup failed\n",
156156
__func__);

0 commit comments

Comments
 (0)