Skip to content

Commit 087a8e5

Browse files
committed
fixup! ASoC: SOF: handle paused streams during system suspend
Tearing down pipelines is only supported with firmware ABI 3.19 or greater. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent a2f0699 commit 087a8e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sound/soc/sof/sof-audio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,9 @@ int sof_tear_down_pipelines(struct snd_sof_dev *sdev, bool verify)
806806
/*
807807
* Tear down all pipelines associated with PCMs that did not get suspended
808808
* and unset the prepare flag so that they can be set up again during resume.
809+
* Skip this step for older fimrware.
809810
*/
810-
if (!verify) {
811+
if (!verify && v->abi_version >= SOF_ABI_VER(3, 19, 0)) {
811812
ret = sof_tear_down_left_over_pipelines(sdev);
812813
if (ret < 0) {
813814
dev_err(sdev->dev, "failed to tear down paused pipelines\n");

0 commit comments

Comments
 (0)