Commit 5885492a authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[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: default avatarTakashi Iwai <tiwai@suse.de>
parent 45df3797
...@@ -182,6 +182,10 @@ static void print_pin_caps(struct snd_info_buffer *buffer, ...@@ -182,6 +182,10 @@ static void print_pin_caps(struct snd_info_buffer *buffer,
snd_iprintf(buffer, " OUT"); snd_iprintf(buffer, " OUT");
if (caps & AC_PINCAP_HP_DRV) if (caps & AC_PINCAP_HP_DRV)
snd_iprintf(buffer, " HP"); snd_iprintf(buffer, " HP");
if (caps & AC_PINCAP_EAPD)
snd_iprintf(buffer, " EAPD");
if (caps & AC_PINCAP_PRES_DETECT)
snd_iprintf(buffer, " Detect");
snd_iprintf(buffer, "\n"); snd_iprintf(buffer, "\n");
caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0); caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
snd_iprintf(buffer, " Pin Default 0x%08x: [%s] %s at %s %s\n", caps, snd_iprintf(buffer, " Pin Default 0x%08x: [%s] %s at %s %s\n", caps,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment