aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-11 05:35:15 -0500
committerTakashi Iwai <tiwai@suse.de>2009-02-11 18:04:19 -0500
commit0852d7a654f75d22a3c09fd7da4a3551bbb37740 (patch)
tree36cb4ec6ddd8a5b2ffa06e4d951282b3435b371b /sound/pci/hda/hda_local.h
parent32d2c7fa1344ddf51886eddf31e228d139501dc6 (diff)
ALSA: hda - Detect multiple digital-out pins
Detect multiple digital-out pins in snd_hda_parse_pin_defconfig(). The dig_out_pin and dig_out_type fields become arrays. The codec parser still doesn't use this multiple pins detection, though. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index 4086491ed33a..2ae6b53a4628 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -355,10 +355,11 @@ struct auto_pin_cfg {
355 int line_out_type; /* AUTO_PIN_XXX_OUT */ 355 int line_out_type; /* AUTO_PIN_XXX_OUT */
356 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS]; 356 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS];
357 hda_nid_t input_pins[AUTO_PIN_LAST]; 357 hda_nid_t input_pins[AUTO_PIN_LAST];
358 hda_nid_t dig_out_pin; 358 int dig_outs;
359 hda_nid_t dig_out_pins[2];
359 hda_nid_t dig_in_pin; 360 hda_nid_t dig_in_pin;
360 hda_nid_t mono_out_pin; 361 hda_nid_t mono_out_pin;
361 int dig_out_type; /* HDA_PCM_TYPE_XXX */ 362 int dig_out_type[2]; /* HDA_PCM_TYPE_XXX */
362 int dig_in_type; /* HDA_PCM_TYPE_XXX */ 363 int dig_in_type; /* HDA_PCM_TYPE_XXX */
363}; 364};
364 365