]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/pci/hda/patch_sigmatel.c
ALSA: hda - Fix power of pins used for mute LED with vrefs
[karo-tx-linux.git] / sound / pci / hda / patch_sigmatel.c
index 86b944a6b0ed8e291c3a0135dadcfffd143382fd..7e531d5cde51aec69f101aced01fb0bf6c1a6746 100644 (file)
@@ -4225,6 +4225,12 @@ static int stac_parse_auto_config(struct hda_codec *codec)
        if (err < 0)
                return err;
 
+       if (spec->vref_mute_led_nid) {
+               err = snd_hda_gen_fix_pin_power(codec, spec->vref_mute_led_nid);
+               if (err < 0)
+                       return err;
+       }
+
        /* setup analog beep controls */
        if (spec->anabeep_nid > 0) {
                err = stac_auto_create_beep_ctls(codec,