diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-27 10:40:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-13 05:16:56 -0700 |
commit | b8eaa307c31f11c060c55136a662d8e397d5a660 (patch) | |
tree | 35017b486e29a5c7c18db3fb7b6de304165d4299 /sound | |
parent | d0263836be7676a082d5badc5401c2793613a9b6 (diff) | |
download | lwn-b8eaa307c31f11c060c55136a662d8e397d5a660.tar.gz lwn-b8eaa307c31f11c060c55136a662d8e397d5a660.zip |
ALSA: hda - Add mute-LED mode control to Thinkpad
commit 7290006d8c0900c56d8c58428134f02c35109d17 upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/thinkpad_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/thinkpad_helper.c b/sound/pci/hda/thinkpad_helper.c index 8fe3b8c18ed4..1eafc1a28193 100644 --- a/sound/pci/hda/thinkpad_helper.c +++ b/sound/pci/hda/thinkpad_helper.c @@ -71,6 +71,7 @@ static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, if (led_set_func(TPACPI_LED_MUTE, false) >= 0) { old_vmaster_hook = spec->vmaster_mute.hook; spec->vmaster_mute.hook = update_tpacpi_mute_led; + spec->vmaster_mute_enum = 1; removefunc = false; } if (led_set_func(TPACPI_LED_MICMUTE, false) >= 0) { |