diff options
| author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2025-09-15 10:48:53 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-15 12:03:58 +0200 |
| commit | 2f3f888d0de377a840f1eed2b8f5513a4ef10981 (patch) | |
| tree | 039b194b1a60dbfd69bc7fba5dc929916888d75b /sound | |
| parent | 22602c7976e69d1f6a79e68f4663f9feefeaff79 (diff) | |
| download | linux-2f3f888d0de377a840f1eed2b8f5513a4ef10981.tar.gz linux-2f3f888d0de377a840f1eed2b8f5513a4ef10981.tar.bz2 linux-2f3f888d0de377a840f1eed2b8f5513a4ef10981.zip | |
ASoC: Intel: hda-sdw-bpt: set persistent_buffer false
[ Upstream commit 8b184c34806e5da4d4847fabd3faeff38b47e70a ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
| -rw-r--r-- | sound/soc/sof/intel/hda-sdw-bpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/intel/hda-sdw-bpt.c b/sound/soc/sof/intel/hda-sdw-bpt.c index 1327f1cad0bc..ff5abccf0d88 100644 --- a/sound/soc/sof/intel/hda-sdw-bpt.c +++ b/sound/soc/sof/intel/hda-sdw-bpt.c @@ -150,7 +150,7 @@ static int hda_sdw_bpt_dma_deprepare(struct device *dev, struct hdac_ext_stream u32 mask; int ret; - ret = hda_cl_cleanup(sdev->dev, dmab_bdl, true, sdw_bpt_stream); + ret = hda_cl_cleanup(sdev->dev, dmab_bdl, false, sdw_bpt_stream); if (ret < 0) { dev_err(sdev->dev, "%s: SDW BPT DMA cleanup failed\n", __func__); |
