]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda/realtek: Add mic-mute LED setup for ASUS UM5606
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Jun 2025 15:18:39 +0000 (17:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Jun 2025 15:20:49 +0000 (17:20 +0200)
ASUS UM5606* models use the quirk to set up the bass speakers, but it
missed the mic-mute LED configuration.  Other similar models have the
AMD ACP dmic, and the mic-mute is set up for that, but those models
don't have AMD ACP but rather built-in mics of Realtek codec, hence
the Realtek driver should set it up, instead.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=220125
Link: https://patch.msgid.link/20250623151841.28810-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 166730f00e5e656205b197bf47d386877af32dc5..784644a2b51d214a935297a34006acfd1cef5221 100644 (file)
@@ -6610,6 +6610,7 @@ static void alc294_fixup_bass_speaker_15(struct hda_codec *codec,
        if (action == HDA_FIXUP_ACT_PRE_PROBE) {
                static const hda_nid_t conn[] = { 0x02, 0x03 };
                snd_hda_override_conn_list(codec, 0x15, ARRAY_SIZE(conn), conn);
+               snd_hda_gen_add_micmute_led_cdev(codec, NULL);
        }
 }