diff options
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index b3c53f7a668b..9961fe197694 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4350,8 +4350,8 @@ static int stac92xx_init(struct hda_codec *codec) | |||
4350 | } | 4350 | } |
4351 | if (cfg->line_out_type == AUTO_PIN_LINE_OUT) { | 4351 | if (cfg->line_out_type == AUTO_PIN_LINE_OUT) { |
4352 | /* enable pin-detect for line-outs as well */ | 4352 | /* enable pin-detect for line-outs as well */ |
4353 | for (i = 0; i < cfg->hp_outs; i++) { | 4353 | for (i = 0; i < cfg->line_outs; i++) { |
4354 | hda_nid_t nid = cfg->hp_pins[i]; | 4354 | hda_nid_t nid = cfg->line_out_pins[i]; |
4355 | enable_pin_detect(codec, nid, STAC_LO_EVENT); | 4355 | enable_pin_detect(codec, nid, STAC_LO_EVENT); |
4356 | } | 4356 | } |
4357 | } | 4357 | } |