ALSA: hda - Detect non-SPDIF digital I/O

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:12 pm

Gitweb:     http://git.kernel.org/linus/1b52ae701fedf97f9984e73b6a1fe2444230871b
Commit:     1b52ae701fedf97f9984e73b6a1fe2444230871b
Parent:     89ce9e87083216389d2ff5740cc60f835537d8d0
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Tue Jan 20 17:17:29 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Tue Jan 20 17:18:41 2009 +0100

    ALSA: hda - Detect non-SPDIF digital I/O
    
    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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index c03de0b..2d6f72c 100644
--- 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;
 		}
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: hda - Detect non-SPDIF digital I/O, Linux Kernel Mailing ..., (Thu Mar 26, 12:12 pm)