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:
89ce9e8
)
ALSA: hda - Detect non-SPDIF digital I/O
author
Takashi Iwai
<tiwai@suse.de>
Tue, 20 Jan 2009 16:17:29 +0000
(17:17 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 20 Jan 2009 16:18:41 +0000
(17:18 +0100)
Accept non-SPDIF digital I/O pins as the digital pins.
These are usually corresponding to HDMI I/O.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index c03de0bc3999196e39a15a9c12ec873311685dd8..2d6f72ca0140866e1587969b2b661a1fe0d6b6fd 100644
(file)
--- a/
sound/pci/hda/hda_codec.c
+++ b/
sound/pci/hda/hda_codec.c
@@
-3390,9
+3390,11
@@
int snd_hda_parse_pin_def_config(struct hda_codec *codec,
cfg->input_pins[AUTO_PIN_AUX] = nid;
break;
case AC_JACK_SPDIF_OUT:
+ case AC_JACK_DIG_OTHER_OUT:
cfg->dig_out_pin = nid;
break;
case AC_JACK_SPDIF_IN:
+ case AC_JACK_DIG_OTHER_IN:
cfg->dig_in_pin = nid;
break;
}