projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44d4e4
)
ALSA: hda - Fix line-out jack detection
author
Takashi Iwai
<
[email protected]
>
Mon, 3 Aug 2009 12:23:33 +0000
(14:23 +0200)
committer
Takashi Iwai
<
[email protected]
>
Mon, 3 Aug 2009 12:23:33 +0000
(14:23 +0200)
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 <
[email protected]
>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index b3c53f7a668b21eeccd9f59d66f566a339393dbd..9961fe197694f674ff5514103f7504267d860189 100644
(file)
--- 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);
}
}