Skip to content

Commit 386a653

Browse files
jason77-wangtiwai
authored andcommitted
ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO
After installing the Ubuntu Linux, the micmute led status is not correct. Users expect that the led is on if the capture is disabled, but with the current kernel, the led is off with the capture disabled. We tried the old linux kernel like linux-4.15, there is no this issue. It looks like we introduced this issue when switching to the led_cdev. Cc: <[email protected]> Signed-off-by: Hui Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 14a720d commit 386a653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4414,6 +4414,7 @@ static void alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec *codec,
44144414
{
44154415
struct alc_spec *spec = codec->spec;
44164416

4417+
spec->micmute_led_polarity = 1;
44174418
alc_fixup_hp_gpio_led(codec, action, 0, 0x04);
44184419
if (action == HDA_FIXUP_ACT_PRE_PROBE) {
44194420
spec->init_amp = ALC_INIT_DEFAULT;

0 commit comments

Comments
 (0)