diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-04-23 11:16:21 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 10:56:09 -0400 |
commit | d258e24a39a75834f25c39f90a3a429978e9b896 (patch) | |
tree | 93f5329faa03a77762b95c6e7e4508c714a5d06f /sound/pci/hda/hda_local.h | |
parent | 658fba0efe93fdef44f65cff391ae2a881e30d90 (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.h | 7 |
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 | ||
225 | enum { | ||
226 | AUTO_PIN_LINE_OUT, | ||
227 | AUTO_PIN_SPEAKER_OUT, | ||
228 | AUTO_PIN_HP_OUT | ||
229 | }; | ||
230 | |||
225 | extern const char *auto_pin_cfg_labels[AUTO_PIN_LAST]; | 231 | extern const char *auto_pin_cfg_labels[AUTO_PIN_LAST]; |
226 | 232 | ||
227 | struct auto_pin_cfg { | 233 | struct 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; |