Commit a1ce6e43 authored by Ranjani Sridharan's avatar Ranjani Sridharan Committed by Mark Brown
parent 22c861fd
...@@ -191,7 +191,7 @@ static int sof_suspend(struct device *dev, bool runtime_suspend) ...@@ -191,7 +191,7 @@ static int sof_suspend(struct device *dev, bool runtime_suspend)
if (sdev->fw_state != SOF_FW_BOOT_COMPLETE) if (sdev->fw_state != SOF_FW_BOOT_COMPLETE)
goto suspend; goto suspend;
/* set restore_stream for all streams during system suspend */ /* prepare for streams to be resumed properly upon resume */
if (!runtime_suspend) { if (!runtime_suspend) {
ret = sof_set_hw_params_upon_resume(sdev->dev); ret = sof_set_hw_params_upon_resume(sdev->dev);
if (ret < 0) { if (ret < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment