Skip to content

Commit 2ff6aa4

Browse files
ranj063plbossart
authored andcommitted
fixup! ASoC: SOF: Introduce struct snd_sof_pipeline
Clear the complete flag for pipelines when the scheduler widget is freed. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent cb9c439 commit 2ff6aa4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sound/soc/sof/sof-audio.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ int sof_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget)
7575
err = ret;
7676
}
7777

78+
/* clear pipeline complete */
79+
if (swidget->id == snd_soc_dapm_scheduler)
80+
swidget->spipe->complete = 0;
81+
7882
if (!err)
7983
dev_dbg(sdev->dev, "widget %s freed\n", swidget->widget->name);
8084

0 commit comments

Comments
 (0)