summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-08-03 14:25:27 +0200
committerTakashi Iwai <tiwai@suse.de>2009-08-03 14:25:27 +0200
commitc0766c56058096b1b985acd2d47bfb66ea72250b (patch)
tree5baf59a82921f748fb6957cd410a2914fb77de9f /sound/pci
parent1cb181a6eb5fc664b32c9f1a740569d165eeba27 (diff)
parent15cfa2b3db8b64d4e66d36fb88d21bae9ea3dfba (diff)
Merge branch 'topic/hda' into for-next
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_sigmatel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 7ed0e642b9f0..8ec6a906c5fd 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4381,8 +4381,8 @@ static int stac92xx_init(struct hda_codec *codec)
}
if (cfg->line_out_type == AUTO_PIN_LINE_OUT) {
/* enable pin-detect for line-outs as well */
- for (i = 0; i < cfg->hp_outs; i++) {
- hda_nid_t nid = cfg->hp_pins[i];
+ for (i = 0; i < cfg->line_outs; i++) {
+ hda_nid_t nid = cfg->line_out_pins[i];
enable_pin_detect(codec, nid, STAC_LO_EVENT);
}
}