ASoC: Intel: avs: Standby power-state support
authorPiotr Maziarz <piotrx.maziarz@linux.intel.com>
Thu, 27 Oct 2022 12:47:00 +0000 (14:47 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2022 12:04:37 +0000 (13:04 +0100)
commitd56829e9c1cb90044c07337fe90a9828fdb165c0
treea6b8ce6a59a56078301d6a55bc8daded3b8e601b
parent730cb320ec2973fb2aea72ea27f7edc6a847a664
ASoC: Intel: avs: Standby power-state support

Introduce avs_suspend_standby() and avs_resume_standby() to support S0IX
streaming. The AudioDSP is not shutdown during such scenario and the PCI
device is armed for possible wake operation through an audio event.

As capability for a stream to be active during low power S0 is based off
of ->ignore_suspend, adjust the field's value according to platform
capabilities if needed.

Signed-off-by: Piotr Maziarz <piotrx.maziarz@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221027124702.1761002-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/avs.h
sound/soc/intel/avs/core.c
sound/soc/intel/avs/topology.c