summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-01-20 18:24:13 +0100
committerTakashi Iwai <tiwai@suse.de>2009-01-20 18:24:13 +0100
commit2297bd6e526ce1469279284ffda9140f8d60ea84 (patch)
tree569b8e25c2169e64f91f1a6a8c819420f5589a80 /sound/pci/hda/hda_local.h
parentALSA: hda - Don't break the PCM creation loop (diff)
downloadlinux-2297bd6e526ce1469279284ffda9140f8d60ea84.tar.xz
linux-2297bd6e526ce1469279284ffda9140f8d60ea84.zip
ALSA: hda - Check HDMI jack types in the auto configuration
Add dig_out_type and dig_in_type fields to autocfg struct. A proper HDA_PCM_TYPE_* value is assigned to these fields according to the pin-jack location type value. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index 1dd8716c387f..a4ecd77a451a 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -355,6 +355,8 @@ struct auto_pin_cfg {
hda_nid_t dig_out_pin;
hda_nid_t dig_in_pin;
hda_nid_t mono_out_pin;
+ int dig_out_type; /* HDA_PCM_TYPE_XXX */
+ int dig_in_type; /* HDA_PCM_TYPE_XXX */
};
#define get_defcfg_connect(cfg) \