summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/intel/hda-dsp.c
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2019-10-26 00:41:18 +0200
committerMark Brown <broonie@kernel.org>2019-10-28 15:45:53 +0100
commitac8c046f19f94ec419c60d7a073af75a71386e97 (patch)
treebbe84047d476f70b9f808cf583e6fefebb226fd9 /sound/soc/sof/intel/hda-dsp.c
parentASoC: SOF: PM: implement prepare/complete callbacks (diff)
downloadlinux-ac8c046f19f94ec419c60d7a073af75a71386e97.tar.xz
linux-ac8c046f19f94ec419c60d7a073af75a71386e97.zip
ASoC: SOF: ignore suspend/resume for D0ix compatible streams
During system suspend, the PM framework will freeze all applications and the ALSA/ASoC core will suspend all RUNNING PCM streams. However, D0ix-compatible PCM streams should keep the related pipelines active in the DSP when the system is entering S0ix. The TRIGGER_SUSPEND event is trapped in such cases to prevent the pipelines from being stopped. Likewise, the TRIGGER_RESUME/START events should not affect the pipeline state. The SOF driver also triggers some DSP Firmware pipelines based on the DAPM widgets power events. In such cases, we also ignore PRE_PMU and POST_PMD events to keep the pipelines active. 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-23-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions