From: Ranjani Sridharan Date: Tue, 28 Sep 2021 07:40:30 +0000 (+0300) Subject: ASoC: SOF: pm: fix a stale comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a1ce6e43e2accf30e780a9a339218b4958857377;p=linux.git ASoC: SOF: pm: fix a stale comment There is no restore_stream flag anymmore. Signed-off-by: Ranjani Sridharan Reviewed-by: Paul Olaru Reviewed-by: Kai Vehmanen Reviewed-by: Bard Liao Reviewed-by: Pierre-Louis Bossart Signed-off-by: Peter Ujfalusi Link: https://lore.kernel.org/r/20210928074030.30553-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/pm.c b/sound/soc/sof/pm.c index c83fb62559616..89b4b3d765391 100644 --- a/sound/soc/sof/pm.c +++ b/sound/soc/sof/pm.c @@ -191,7 +191,7 @@ static int sof_suspend(struct device *dev, bool runtime_suspend) if (sdev->fw_state != SOF_FW_BOOT_COMPLETE) goto suspend; - /* set restore_stream for all streams during system suspend */ + /* prepare for streams to be resumed properly upon resume */ if (!runtime_suspend) { ret = sof_set_hw_params_upon_resume(sdev->dev); if (ret < 0) {