aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_proc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-02 11:37:03 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-02 11:42:08 +0100
commit516a1ced456a6d118db738f0f09fce0cb0f42794 (patch)
tree912cb2eb0ee39b157c0d470f0b6e0500a1e3901b /sound/pci/hda/hda_proc.c
parent3077e44c48242bb5867b41586f23aa8f6921073a (diff)
downloadkernel_samsung_smdk4412-516a1ced456a6d118db738f0f09fce0cb0f42794.zip
kernel_samsung_smdk4412-516a1ced456a6d118db738f0f09fce0cb0f42794.tar.gz
kernel_samsung_smdk4412-516a1ced456a6d118db738f0f09fce0cb0f42794.tar.bz2
ALSA: hda - No widget selection for volume knob widgets in proc output
Volume-knob widgets have no widget selection although they have widget connections. Thus, the connection list in the proc output shouldn't contain the selection (*). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_proc.c')
-rw-r--r--sound/pci/hda/hda_proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c
index 7ca66d6..144b852 100644
--- a/sound/pci/hda/hda_proc.c
+++ b/sound/pci/hda/hda_proc.c
@@ -399,7 +399,8 @@ static void print_conn_list(struct snd_info_buffer *buffer,
{
int c, curr = -1;
- if (conn_len > 1 && wid_type != AC_WID_AUD_MIX)
+ if (conn_len > 1 && wid_type != AC_WID_AUD_MIX &&
+ wid_type != AC_WID_VOL_KNB)
curr = snd_hda_codec_read(codec, nid, 0,
AC_VERB_GET_CONNECT_SEL, 0);
snd_iprintf(buffer, " Connection: %d\n", conn_len);