Skip to content

Commit a1f3efd

Browse files
tiwaisashalevin
authored andcommitted
ALSA: hda - Add mute-LED mode control to Thinkpad
[ Upstream commit 7290006 ] This patch adds the missing flag to enable "Mute-LED Mode" mixer enum ctl for Thinkpads that have also the software mute-LED control. Reported-and-tested-by: Pali Rohár <pali.rohar@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
1 parent ea4b188 commit a1f3efd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎sound/pci/hda/thinkpad_helper.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static void hda_fixup_thinkpad_acpi(struct hda_codec *codec,
7272
if (led_set_func(TPACPI_LED_MUTE, false) >= 0) {
7373
old_vmaster_hook = spec->vmaster_mute.hook;
7474
spec->vmaster_mute.hook = update_tpacpi_mute_led;
75+
spec->vmaster_mute_enum = 1;
7576
removefunc = false;
7677
}
7778
if (led_set_func(TPACPI_LED_MICMUTE, false) >= 0) {

0 commit comments

Comments
 (0)