Re: [PATCH] ALSA: hda - reverse the setting value in the micmute_led_set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Aug 2020 14:24:30 +0200,
Hui Wang wrote:
> 
> 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@xxxxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Hui Wang <hui.wang@xxxxxxxxxxxxx>

Thanks, applied.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux