diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-08-03 14:23:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-08-03 14:23:33 +0200 |
commit | 15cfa2b3db8b64d4e66d36fb88d21bae9ea3dfba (patch) | |
tree | 85a6a322d2572f987941a2335382c0bafb325e71 /sound/pci | |
parent | e44d4e4cee1ece7b6e6bf4db899b1a7766015306 (diff) | |
download | op-kernel-dev-15cfa2b3db8b64d4e66d36fb88d21bae9ea3dfba.zip op-kernel-dev-15cfa2b3db8b64d4e66d36fb88d21bae9ea3dfba.tar.gz |
ALSA: hda - Fix line-out jack detection
The commit fefd67f31ee7f5259344e36a237d59b47e8715cf
ALSA: hda - Add line-out jack detection on IDT/STAC codecs
enabled wrong pins for jack detections. Fixed to the correct ones.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-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 b3c53f7..9961fe1 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) } 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); } } |