aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_sigmatel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index f3658658548e..f4f4ebeed9ea 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4441,7 +4441,9 @@ static int stac92xx_init(struct hda_codec *codec)
4441 int pinctl, def_conf; 4441 int pinctl, def_conf;
4442 4442
4443 /* power on when no jack detection is available */ 4443 /* power on when no jack detection is available */
4444 if (!spec->hp_detect) { 4444 /* or when the VREF is used for controlling LED */
4445 if (!spec->hp_detect ||
4446 (spec->gpio_led > 8 && spec->gpio_led == nid)) {
4445 stac_toggle_power_map(codec, nid, 1); 4447 stac_toggle_power_map(codec, nid, 1);
4446 continue; 4448 continue;
4447 } 4449 }