mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
ASoC: SOF: PM: implement prepare/complete callbacks
Implement the prepare() and complete() callbacks for power management, initialize s0_suspend flag at prepare(), and reset it at complete(). Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191025224122.7718-22-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -492,6 +492,8 @@ int snd_sof_runtime_resume(struct device *dev);
|
||||
int snd_sof_runtime_idle(struct device *dev);
|
||||
int snd_sof_resume(struct device *dev);
|
||||
int snd_sof_suspend(struct device *dev);
|
||||
int snd_sof_prepare(struct device *dev);
|
||||
void snd_sof_complete(struct device *dev);
|
||||
int snd_sof_set_d0_substate(struct snd_sof_dev *sdev,
|
||||
enum sof_d0_substate d0_substate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user