linux/sound/soc/sof
Keyon Jie ac8c046f19
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>
2019-10-28 14:45:53 +00:00
..
imx ASoC: SOF: define INFO_ flags in dsp_ops 2019-10-25 11:07:45 +01:00
intel ASoC: SOF: Intel: CNL: add support for sending compact IPC 2019-10-28 14:44:37 +00:00
xtensa sound fixes for 5.2-rc5 2019-06-14 05:37:06 -10:00
control.c ASoC: SOF: Fix randbuild error 2019-10-14 17:11:57 +01:00
core.c ASoC: SOF: reset default d0_substate at probe() and resume() 2019-10-28 14:39:53 +00:00
debug.c ASoC: SOF: ipc: retain DSP context after FW exception. 2019-10-01 18:34:28 +01:00
ipc.c ASoC: SOF: core: check for mandatory fw_ready op during SOF probe 2019-10-01 18:34:50 +01:00
Kconfig ASoC: SOF: ipc: retain DSP context after FW exception. 2019-10-01 18:34:28 +01:00
loader.c ASoC: SOF: loader: fix kernel oops on firmware boot failure 2019-10-01 18:30:28 +01:00
Makefile ASoC: SOF: imx: Add i.MX8 HW support 2019-08-22 18:28:32 +01:00
nocodec.c ASoC: sof: use modern dai_link style 2019-06-06 22:10:38 +01:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: add set_power_state() to dsp_ops for power state update 2019-10-28 14:40:52 +00:00
pcm.c ASoC: SOF: ignore suspend/resume for D0ix compatible streams 2019-10-28 14:45:53 +00:00
pm.c ASoC: SOF: PM: implement prepare/complete callbacks 2019-10-28 14:45:33 +00:00
sof-acpi-dev.c ASoC: SOF: acpi: add debug module param 2019-10-10 15:15:11 +01:00
sof-of-dev.c ASoC: SOF: Add OF DSP device support 2019-08-22 18:28:20 +01:00
sof-pci-dev.c ASoC: SOF: Intel: initial support to JasperLake. 2019-10-23 17:46:31 +01:00
sof-priv.h ASoC: SOF: PM: implement prepare/complete callbacks 2019-10-28 14:45:33 +00:00
topology.c ASoC: SOF: ignore suspend/resume for D0ix compatible streams 2019-10-28 14:45:53 +00:00
trace.c ASoC: SOF: trace: move to opt-in with Kconfig and module parameter 2019-10-01 18:34:06 +01:00
utils.c ASoC: SOF: Add utils 2019-04-28 02:49:47 +09:00