diff options
author | Fred Oh <fred.oh@linux.intel.com> | 2019-07-22 16:13:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-23 13:20:21 +0200 |
commit | 1c38c9223da3af619d35f052ad6f4bbaa0f08ac2 (patch) | |
tree | cea37ca1f226418d4b325fb759e830dfb0e7500e /sound/soc/sof/pm.c | |
parent | ASoC: SOF: loader: Don't ignore SRAM block types (diff) | |
download | linux-1c38c9223da3af619d35f052ad6f4bbaa0f08ac2.tar.xz linux-1c38c9223da3af619d35f052ad6f4bbaa0f08ac2.zip |
ASoC: SOF: remove unused state variable in suspend function
Remove unused and no plan to use variable from suspend function.
Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190722141402.7194-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/pm.c')
-rw-r--r-- | sound/soc/sof/pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/pm.c b/sound/soc/sof/pm.c index 48c6d78d72e2..e23beaeefe00 100644 --- a/sound/soc/sof/pm.c +++ b/sound/soc/sof/pm.c @@ -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", |