[PATCH] ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended

Mark Brown broonie at kernel.org
Fri Nov 5 16:22:36 CET 2021


On Fri, 5 Nov 2021 13:16:55 +0200, Kai Vehmanen wrote:
> If codec is in runtime suspend, but controller is not, hotplug events
> are missed as the codec has no way to alert the controller. Problem does
> not occur if both controller and codec are active, or when both are
> suspended.
> 
> An easy way to reproduce is to play an audio stream on one codec (e.g.
> to HDMI/DP display codec), wait for other HDA codec to go to runtime
> suspend, and then plug in a headset to the suspended codec. The jack
> event is not reported correctly in this case. Another way to reproduce
> is to force controller to stay active with
> "snd_sof_pci.sof_pci_debug=0x1"
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-linus

Thanks!

[1/1] ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended
      commit: fd572393baf0350835e8d822db588f679dc7bcb8

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


More information about the Alsa-devel mailing list