APPLIED [OEM-5.10] Re: [SRU] [H/U/OEM-5.10] [PATCH 0/2] Fix mic on P620 after S3 resume
Timo Aaltonen
tjaalton at ubuntu.com
Wed Apr 7 14:11:35 UTC 2021
On 29.3.2021 17.47, 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(-)
>
--
t
More information about the kernel-team
mailing list