]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: pcm: Restrict DSP D0i3 during S0ix to IPC3
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 8 Apr 2024 19:41:46 +0000 (14:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:48:50 +0000 (09:48 +0200)
commit26a593b572054285bd388bac3c0f9e070db4c4eb
tree6fc6a9273e91823c0c98eba5e16dcd3d4f8e99f5
parent128dd16c82f7318082054d4b3cb4d3fa36574552
ASoC: SOF: pcm: Restrict DSP D0i3 during S0ix to IPC3

[ Upstream commit 90a2353080eedec855d63f6aadfda14104ee9b06 ]

Introduce a new field in struct sof_ipc_pcm_ops that can be used to
restrict DSP D0i3 during S0ix suspend to IPC3. With IPC4, all streams
must be stopped before S0ix suspend.

Reviewed-by: Uday M Bhat <uday.m.bhat@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240408194147.28919-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/ipc3-pcm.c
sound/soc/sof/pcm.c
sound/soc/sof/sof-audio.h