未验证 提交 a1ce6e43 编写于 作者: R Ranjani Sridharan 提交者: Mark Brown
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册