APPLIED (hirsute/5.11): [SRU] [H/U/OEM-5.10] [PATCH 0/2] Fix mic on P620 after S3 resume
Andrea Righi
andrea.righi at canonical.com
Tue Mar 30 08:28:02 UTC 2021
Applied to hirsute/5.11.
Thanks,
-Andrea
On Mon, Mar 29, 2021 at 10:47:24PM +0800, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1921757
>
> [Impact]
> Mic on Lenovo P620 can not record any sound after S3.
>
> [Fix]
> Query the connector status on system resume.
>
> [Test]
> Use "arecord | aplay" to test.
> With the fix in place, the mic in question works after S3 resume.
> Also tested on some other USB audio and didn't find any issue.
>
> [Where problems could occur]
> If there's a USB audio device that doesn't like its connectors being
> queried, then this may regress on those devices.
> However I suspect this is the default behavior on other OSes, so it's
> unlikely to happen.
>
> Kai-Heng Feng (2):
> ALSA: usb-audio: Carve out connector value checking into a helper
> ALSA: usb-audio: Check connector value on resume
>
> sound/usb/mixer.c | 78 ++++++++++++++++++++++++++++++----------
> sound/usb/mixer.h | 1 +
> sound/usb/mixer_quirks.c | 2 +-
> 3 files changed, 61 insertions(+), 20 deletions(-)
>
> --
> 2.30.2
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list