diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2019-07-02 15:24:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-06 13:23:24 +0200 |
commit | 62fde9772dd8400bc407de8822ede56b5f2f67f1 (patch) | |
tree | 05e7b354357e2799b645cd25c9814e281e2433b8 /sound/soc/sof/sof-pci-dev.c | |
parent | ASoC: hdac_hdmi: report codec link up/down status to bus (diff) | |
download | linux-62fde9772dd8400bc407de8822ede56b5f2f67f1.tar.xz linux-62fde9772dd8400bc407de8822ede56b5f2f67f1.zip |
ASoC: SOF: add runtime idle callback
Add ability to implement a SOF device level runtime idle callback.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20190702132428.13129-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-pci-dev.c')
-rw-r--r-- | sound/soc/sof/sof-pci-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c index e2b19782f01a..65d1bac4c6b8 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -206,7 +206,7 @@ static const struct sof_dev_desc kbl_desc = { static const struct dev_pm_ops sof_pci_pm = { SET_SYSTEM_SLEEP_PM_OPS(snd_sof_suspend, snd_sof_resume) SET_RUNTIME_PM_OPS(snd_sof_runtime_suspend, snd_sof_runtime_resume, - NULL) + snd_sof_runtime_idle) }; static void sof_pci_probe_complete(struct device *dev) |