Revert "ALSA: hda - Add mute-LED mode control to Thinkpad"
This reverts commit 7290006d8c
.
Through the regression report, it was revealed that the
tpacpi_led_set() call to thinkpad_acpi helper doesn't only toggle the
mute LED but actually mutes the sound. This is contradiction to the
expectation, and rather confuses user.
According to Henrique, it's not trivial to judge which TP model
behaves "LED-only" and which model does whatever more intrusive, as
Lenovo's implementations vary model by model. So, from the safety
reason, we should revert the patch for now.
Reported-by: Martin Steigerwald <martin@lichtvoll.de>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ae425bb2a0
commit
3530febb5c
|
@ -72,7 +72,6 @@ static void hda_fixup_thinkpad_acpi(struct hda_codec *codec,
|
||||||
if (led_set_func(TPACPI_LED_MUTE, false) >= 0) {
|
if (led_set_func(TPACPI_LED_MUTE, false) >= 0) {
|
||||||
old_vmaster_hook = spec->vmaster_mute.hook;
|
old_vmaster_hook = spec->vmaster_mute.hook;
|
||||||
spec->vmaster_mute.hook = update_tpacpi_mute_led;
|
spec->vmaster_mute.hook = update_tpacpi_mute_led;
|
||||||
spec->vmaster_mute_enum = 1;
|
|
||||||
removefunc = false;
|
removefunc = false;
|
||||||
}
|
}
|
||||||
if (led_set_func(TPACPI_LED_MICMUTE, false) >= 0) {
|
if (led_set_func(TPACPI_LED_MICMUTE, false) >= 0) {
|
||||||
|
|
Loading…
Reference in New Issue