[PATCH 0/2][SRU][OEM-5.14] New fix for jack detection after resume on CS8409 sound driver
Chris Chiu
chris.chiu at canonical.com
Tue Dec 14 13:38:27 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1954773
[Impact]
On some platforms with Cirrus CS8409 audio codec, the external headset will fail to be detected after system resume.
[Fix]
Cirrus released a new fix commit 65cc4ad62a9e ('ALSA: hda/cs8409: Set PMSG_ON earlier inside cs8409 driver'). It sets the power_state to ON before the unsolicited event arrives to make sure the jack detection can be invoked after resume.
[Test]
Plug-in an external headset in front headset port, suspend/resume the system then check whether the headset function works as expected.
[Where problem could occur]
Low. It only affect the platforms with Cirrus codec CS8409 which used to have problem.
Chris Chiu (1):
Revert "UBUNTU: SAUCE: ALSA: hda/cs8409: Schedule delayed work for
jack detect on resume"
Stefan Binding (1):
ALSA: hda/cs8409: Set PMSG_ON earlier inside cs8409 driver
sound/pci/hda/hda_local.h | 9 ++++
sound/pci/hda/patch_cs8409.c | 84 +++++++++---------------------------
sound/pci/hda/patch_cs8409.h | 1 -
3 files changed, 29 insertions(+), 65 deletions(-)
--
2.25.1
More information about the kernel-team
mailing list