diff options
Diffstat (limited to 'sound/soc/sof/pm.c')
| -rw-r--r-- | sound/soc/sof/pm.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/sof/pm.c b/sound/soc/sof/pm.c index 278abfd10490..e23beaeefe00 100644 --- a/sound/soc/sof/pm.c +++ b/sound/soc/sof/pm.c @@ -233,7 +233,7 @@ static int sof_set_hw_params_upon_resume(struct snd_sof_dev *sdev)  			state = substream->runtime->status->state;  			if (state == SNDRV_PCM_STATE_SUSPENDED) -				spcm->hw_params_upon_resume[dir] = 1; +				spcm->prepared[dir] = false;  		}  	} @@ -377,9 +377,9 @@ static int sof_suspend(struct device *dev, bool runtime_suspend)  	/* power down all DSP cores */  	if (runtime_suspend) -		ret = snd_sof_dsp_runtime_suspend(sdev, 0); +		ret = snd_sof_dsp_runtime_suspend(sdev);  	else -		ret = snd_sof_dsp_suspend(sdev, 0); +		ret = snd_sof_dsp_suspend(sdev);  	if (ret < 0)  		dev_err(sdev->dev,  			"error: failed to power down DSP during suspend %d\n",  |