[SRU][B/B-OEM/C/D][PATCH 0/1] codecs stop working after S3
Hui Wang
hui.wang at canonical.com
Wed Mar 20 01:47:15 UTC 2019
BugLink: https://bugs.launchpad.net/bugs/1820930
To fix this bug, B/OEM-B/C needs only 1 patch, while v5.0-rc1 introduced
a new patch which affect this issue, so the DISCO needs 2 patches.
[Impact]
After S3, some codecs (alc236, alc255, alc891 and some HDMI codec) stop
working, they can't detect jack plugging/unplugging or the audio device
can't show up in the gnome-sound-setting
[Fix]
After S3, if it runs runtime_resume(), the codec works again. We change
the driver to let system_resume() trigger runtime_resume()
[Test Case]
This issue is reported from OEM project, some codecs can't detect
jack pluggin/unplugging, some codecs can't show up in the UI, after
applying this patch, all related bugs are fixed.
[Regression Potential]
Low. have tested on many machines (with this issue or without this issue),
all worked well.
Hui Wang (2):
ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
ALSA: hda - Don't trigger jackpoll_work in azx_resume
sound/pci/hda/hda_codec.c | 18 +++++++++++++++++-
sound/pci/hda/hda_intel.c | 8 ++++----
2 files changed, 21 insertions(+), 5 deletions(-)
--
2.17.1
More information about the kernel-team
mailing list