ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
Subsystems (3)
Kai Vehmanen
reviewerPATCH 1/1 ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
From: Ranjani Sridharan <[email protected]>
Cancel the D0i3 work during runtime suspend as no streams are active at this point anyway.
--- sound/soc/sof/intel/hda-dsp.c | 4 ++++ 1 file changed, 4 insertions(+)
sound/soc/sof/intel/hda-dsp.c +4 -0
@@ -799,11 +799,15 @@ int hda_dsp_runtime_idle(struct snd_sof_dev *sdev)int hda_dsp_runtime_suspend (struct snd_sof_dev *sdev) { +struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata;const struct sof_dsp_power_state target_state = { .state =SOF_DSP_PM_D3 , };int ret; +/* cancel any attempt for DSP D0I3 */ +cancel_delayed_work_sync (&hda->d0i3_work); +/* stop hda controller and power dsp off */ ret =hda_suspend (sdev, true);if (ret <0 )
base-commit: e32df142359fb6f4d27977b7652549f0844aa62f
Signature · 1 line
2.29.2
Mark Brown
maintainerQuoted 2 lines · Kai Vehmanen
Cancel the D0i3 work during runtime suspend as no streams are active at this point anyway.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
commit: 0084364d9678e9d722ee620ed916f2f9954abdbf
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark