NAK/cmnt: [SRU][I/J/OEM-5.13/OEM-5.14][PATCH 0/1] alsa/sof: All audio jacks can't detect hotplug when only codec is suspended
Hui Wang
hui.wang at canonical.com
Thu Nov 11 09:06:27 UTC 2021
somehow sent a duplicate thread, please ignore this thread.
On 11/11/21 11:19 AM, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1950540
>
> [Impact]
> If the codec is in rt_suspend while the controller is in rt_resume,
> all audio jacks can't detect hotplug.
>
> [Fix]
> Backport a upstream patch, this will enable WAKEEN in the period
> between codec suspend and controller suspend.
>
> [Test]
> Booting the patched kernel, add snd_sof_pci.sof_pci_debug=0x1 in
> the bootargs, plug the headset to the audio jacks, the system
> could detect the plug in or plug out.
>
> [Where problems could occur]
> The patch enable the WAKEEN after codec is in rt_suspend, this
> could affect the audio jack hotplug detection, if it introduces
> regression, it will be on the audio jack detection, but this
> possibility is very low, we already verified this patch on
> many machines.
>
>
> Kai Vehmanen (1):
> ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended
>
> sound/soc/sof/intel/hda-bus.c | 17 +++++++++++++++++
> sound/soc/sof/intel/hda-dsp.c | 3 +--
> sound/soc/sof/intel/hda.c | 16 ++++++++++++++++
> 3 files changed, 34 insertions(+), 2 deletions(-)
>
More information about the kernel-team
mailing list