[PATCH 0/6][SRU][M] Support speaker mute hotkey for Cirrus CS35L41 HDA codec
Chris Chiu
chris.chiu at canonical.com
Tue Nov 21 12:28:27 UTC 2023
BugLink: https://bugs.launchpad.net/bugs/2039151
[Impact]
Some systems use a special hotkey to mute speaker audio. On systems using CS35L41 HDA which have this hotkey, add a mechanism which uses ACPI notifications to detect whether the hotkey is triggered to switch the mute state.
[Fix]
Backport the fix from Cirrus on linux-next https://lore.kernel.org/alsa-devel/87fs36egnv.wl-tiwai@suse.de/T/#t.
[Test Case]
1. Power on the machine with CS35L41 HDA and the speaker mute hotkey.
2. Verify the audio functions
3. Verify if the speaker can be mute/unmute by the hotkey.
[Where problems could occur]
Only affect specific laptops with the CS35L41 HDA and the speaker mute hotkey on keyboard. The impact is restricted.
Stefan Binding (5):
ALSA: hda: cs35l41: Support systems with missing _DSD properties
ALSA: hda: cs35l41: Add notification support into component binding
ALSA: hda/realtek: Support ACPI Notification framework via component
binding
ALSA: hda: cs35l41: Support mute notifications for CS35L41 HDA
ALSA: hda: cs35l41: Add read-only ALSA control for forced mute
Takashi Iwai (1):
ALSA: hda: cs35l41: Fix the loop check in cs35l41_add_dsd_properties
sound/pci/hda/Makefile | 2 +-
sound/pci/hda/cs35l41_hda.c | 197 ++++++++++++++++++---------
sound/pci/hda/cs35l41_hda.h | 4 +
sound/pci/hda/cs35l41_hda_property.c | 73 ++++++++++
sound/pci/hda/cs35l41_hda_property.h | 18 +++
sound/pci/hda/hda_component.h | 4 +
sound/pci/hda/patch_realtek.c | 83 ++++++++++-
7 files changed, 316 insertions(+), 65 deletions(-)
create mode 100644 sound/pci/hda/cs35l41_hda_property.c
create mode 100644 sound/pci/hda/cs35l41_hda_property.h
--
2.34.1
More information about the kernel-team
mailing list