ALSA: hda - Add mute LED check for HP laptops with IDT 92HD83xxx codec
[firefly-linux-kernel-4.4.55.git] / sound / pci / hda / patch_sigmatel.c
index dbffb5b5c69df26877ab9e28165263c659e4575b..cb9802f4b063db533e8072a75b3ebd036b8623da 100644 (file)
@@ -5332,6 +5332,11 @@ again:
        if (spec->board_config == STAC_92HD83XXX_HP)
                spec->gpio_led = 0x01;
 
+       if (find_mute_led_gpio(codec))
+               snd_printd("mute LED gpio %d polarity %d\n",
+                               spec->gpio_led,
+                               spec->gpio_led_polarity);
+
 #ifdef CONFIG_SND_HDA_POWER_SAVE
        if (spec->gpio_led) {
                spec->gpio_mask |= spec->gpio_led;