Skip to content

Commit d0f5dae

Browse files
committed
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>
1 parent fda5220 commit d0f5dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static int hda_sdw_bpt_dma_deprepare(struct device *dev, struct hdac_ext_stream
161161
u32 mask;
162162
int ret;
163163

164-
ret = hda_cl_cleanup(sdev->dev, dmab_bdl, true, sdw_bpt_stream);
164+
ret = hda_cl_cleanup(sdev->dev, dmab_bdl, false, sdw_bpt_stream);
165165
if (ret < 0) {
166166
dev_err(sdev->dev, "%s: SDW BPT DMA cleanup failed\n",
167167
__func__);

0 commit comments

Comments
 (0)