[SRU] [H/U/OEM-5.10] [PATCH 0/2] Fix mic on P620 after S3 resume
Kai-Heng Feng
kai.heng.feng at canonical.com
Mon Mar 29 14:47:24 UTC 2021
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
More information about the kernel-team
mailing list