ACK: [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

Stefan Bader stefan.bader at canonical.com
Fri Nov 12 08:39:37 UTC 2021


On 11.11.21 04: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(-)
> 
Acked-by: Stefan Bader <stefan.bader at canonical.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20211112/a4e39a42/attachment.sig>


More information about the kernel-team mailing list