diff options
author | Hui Wang <hui.wang@canonical.com> | 2020-08-11 15:24:30 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-08-11 15:47:24 +0300 |
commit | 404690649e6a52ee39817168f2d984726412e091 (patch) | |
tree | c3e9d40c2de5264b4532f08b96de8c28919262af /sound/pci/ac97 | |
parent | 85cb905d3c5ff6107f4948314731c1b55b689cfc (diff) | |
download | linux-404690649e6a52ee39817168f2d984726412e091.tar.xz |
ALSA: hda - reverse the setting value in the micmute_led_set
Before the micmute_led_set() is introduced, the function of
alc_gpio_micmute_update() will set the gpio value with the
!micmute_led.led_value, and the machines have the correct micmute led
status. After the micmute_led_set() is introduced, it sets the gpio
value with !!micmute_led.led_value, so the led status is not correct
anymore, we need to set micmute_led_polarity = 1 to workaround it.
Now we fix the micmute_led_set() and remove micmute_led_polarity = 1.
Fixes: 87dc36482cab ("ALSA: hda/realtek - Add LED class support for micmute LED")
Reported-and-suggested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20200811122430.6546-1-hui.wang@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ac97')
0 files changed, 0 insertions, 0 deletions