diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-01-20 11:15:57 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-20 11:15:57 -0500 |
commit | 89ce9e87083216389d2ff5740cc60f835537d8d0 (patch) | |
tree | 915370dd56aefce7b2a0b2aa23f896efce259d3b /sound/pci/hda/hda_codec.c | |
parent | 989738c4f82126207b9e04c9395b78e544f3d33c (diff) |
ALSA: hda - Add debug prints for digital I/O pin detections
Add the debug prints for digital I/O pin detections in
snd_hda_parse_pin_def_config() function.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index b7bba7dc7cf1..c03de0bc3999 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -3499,6 +3499,8 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec, | |||
3499 | cfg->hp_pins[1], cfg->hp_pins[2], | 3499 | cfg->hp_pins[1], cfg->hp_pins[2], |
3500 | cfg->hp_pins[3], cfg->hp_pins[4]); | 3500 | cfg->hp_pins[3], cfg->hp_pins[4]); |
3501 | snd_printd(" mono: mono_out=0x%x\n", cfg->mono_out_pin); | 3501 | snd_printd(" mono: mono_out=0x%x\n", cfg->mono_out_pin); |
3502 | if (cfg->dig_out_pin) | ||
3503 | snd_printd(" dig-out=0x%x\n", cfg->dig_out_pin); | ||
3502 | snd_printd(" inputs: mic=0x%x, fmic=0x%x, line=0x%x, fline=0x%x," | 3504 | snd_printd(" inputs: mic=0x%x, fmic=0x%x, line=0x%x, fline=0x%x," |
3503 | " cd=0x%x, aux=0x%x\n", | 3505 | " cd=0x%x, aux=0x%x\n", |
3504 | cfg->input_pins[AUTO_PIN_MIC], | 3506 | cfg->input_pins[AUTO_PIN_MIC], |
@@ -3507,6 +3509,8 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec, | |||
3507 | cfg->input_pins[AUTO_PIN_FRONT_LINE], | 3509 | cfg->input_pins[AUTO_PIN_FRONT_LINE], |
3508 | cfg->input_pins[AUTO_PIN_CD], | 3510 | cfg->input_pins[AUTO_PIN_CD], |
3509 | cfg->input_pins[AUTO_PIN_AUX]); | 3511 | cfg->input_pins[AUTO_PIN_AUX]); |
3512 | if (cfg->dig_out_pin) | ||
3513 | snd_printd(" dig-in=0x%x\n", cfg->dig_in_pin); | ||
3510 | 3514 | ||
3511 | return 0; | 3515 | return 0; |
3512 | } | 3516 | } |