APPLIED [OEM-5.13] Re: [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

Timo Aaltonen tjaalton at ubuntu.com
Thu Nov 11 13:18:16 UTC 2021


On 11.11.2021 5.20, 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(-)
> 

applied to oem-5.13, thanks

-- 
t



More information about the kernel-team mailing list