aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-06-21 13:19:25 -0400
committerJaroslav Kysela <perex@suse.cz>2006-06-22 15:34:43 -0400
commit5885492ab4fb18c155000d12f920754f7f35fbab (patch)
tree7dbb41d41ebc7ec3f5240e2d44e5f17c20f0476a /sound
parent45df379798b5c3b2ea937735ef04c58ce0f532a7 (diff)
[ALSA] hda-codec - Show EAPD and pin-detection capabilities in proc
Show EAPD and pin-detection capabilities in proc files. They are often required to support the proper audio functionality. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c
index 3db009990c5f..c2f0fe85bf35 100644
--- a/sound/pci/hda/hda_proc.c
+++ b/sound/pci/hda/hda_proc.c
@@ -182,6 +182,10 @@ static void print_pin_caps(struct snd_info_buffer *buffer,
182 snd_iprintf(buffer, " OUT"); 182 snd_iprintf(buffer, " OUT");
183 if (caps & AC_PINCAP_HP_DRV) 183 if (caps & AC_PINCAP_HP_DRV)
184 snd_iprintf(buffer, " HP"); 184 snd_iprintf(buffer, " HP");
185 if (caps & AC_PINCAP_EAPD)
186 snd_iprintf(buffer, " EAPD");
187 if (caps & AC_PINCAP_PRES_DETECT)
188 snd_iprintf(buffer, " Detect");
185 snd_iprintf(buffer, "\n"); 189 snd_iprintf(buffer, "\n");
186 caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0); 190 caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
187 snd_iprintf(buffer, " Pin Default 0x%08x: [%s] %s at %s %s\n", caps, 191 snd_iprintf(buffer, " Pin Default 0x%08x: [%s] %s at %s %s\n", caps,