From: Takashi Iwai Date: Mon, 27 Apr 2015 08:40:45 +0000 (+0200) Subject: ALSA: hda - Add mute-LED mode control to Thinkpad X-Git-Tag: v3.18.14~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1f3efd406be6db261be2f7c1a31e836d157ae32;p=profile%2Fwearable%2Fplatform%2Fkernel%2Flinux-3.18-exynos7270.git ALSA: hda - Add mute-LED mode control to Thinkpad [ Upstream commit 7290006d8c0900c56d8c58428134f02c35109d17 ] 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 Cc: Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- diff --git a/sound/pci/hda/thinkpad_helper.c b/sound/pci/hda/thinkpad_helper.c index 6ba0b55..2341fc3 100644 --- a/sound/pci/hda/thinkpad_helper.c +++ b/sound/pci/hda/thinkpad_helper.c @@ -72,6 +72,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) {