aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-04-23 11:16:21 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:56:09 -0400
commitd258e24a39a75834f25c39f90a3a429978e9b896 (patch)
tree93f5329faa03a77762b95c6e7e4508c714a5d06f /sound/pci/hda/hda_local.h
parent658fba0efe93fdef44f65cff391ae2a881e30d90 (diff)
[ALSA] hda-codec - Add line_out_type to auto_pin_cfg struct
Added line_out_type field to auto_pin_cfg struct to provide the pin type of default line_outs. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index 3505a670995f..be12b8814c39 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -222,6 +222,12 @@ enum {
222 AUTO_PIN_LAST 222 AUTO_PIN_LAST
223}; 223};
224 224
225enum {
226 AUTO_PIN_LINE_OUT,
227 AUTO_PIN_SPEAKER_OUT,
228 AUTO_PIN_HP_OUT
229};
230
225extern const char *auto_pin_cfg_labels[AUTO_PIN_LAST]; 231extern const char *auto_pin_cfg_labels[AUTO_PIN_LAST];
226 232
227struct auto_pin_cfg { 233struct auto_pin_cfg {
@@ -230,6 +236,7 @@ struct auto_pin_cfg {
230 int speaker_outs; 236 int speaker_outs;
231 hda_nid_t speaker_pins[5]; 237 hda_nid_t speaker_pins[5];
232 int hp_outs; 238 int hp_outs;
239 int line_out_type; /* AUTO_PIN_XXX_OUT */
233 hda_nid_t hp_pins[5]; 240 hda_nid_t hp_pins[5];
234 hda_nid_t input_pins[AUTO_PIN_LAST]; 241 hda_nid_t input_pins[AUTO_PIN_LAST];
235 hda_nid_t dig_out_pin; 242 hda_nid_t dig_out_pin;