ASoC: SOF: pm: fix a stale comment
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Tue, 28 Sep 2021 07:40:30 +0000 (10:40 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 28 Sep 2021 12:16:23 +0000 (13:16 +0100)
There is no restore_stream flag anymmore.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20210928074030.30553-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/pm.c

index c83fb62..89b4b3d 100644 (file)
@@ -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) {