aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-02-16 11:52:27 +0100
committerJaroslav Kysela <perex@perex.cz>2010-02-16 12:00:42 +0100
commit7affdc17d49b5d9e9c350d5d99ee34ab8655c7b4 (patch)
tree8df8dfc9d3b00822f2d11e6ca198f5dc61eb0cc6 /sound
parentebfdeea3df2b8c265975b6acc47996a0b7c507e8 (diff)
ALSA: usbmixer - add usb_id value to usbmixer proc file
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/usbmixer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c
index 170bfd4fc9f..03f125dca5f 100644
--- a/sound/usb/usbmixer.c
+++ b/sound/usb/usbmixer.c
@@ -1856,8 +1856,9 @@ static void snd_usb_mixer_proc_read(struct snd_info_entry *entry,
list_for_each_entry(mixer, &chip->mixer_list, list) {
snd_iprintf(buffer,
- "USB Mixer: ctrlif=%i, ctlerr=%i\n",
- mixer->ctrlif, mixer->ignore_ctl_error);
+ "USB Mixer: usb_id=0x%08x, ctrlif=%i, ctlerr=%i\n",
+ chip->usb_id, mixer->ctrlif,
+ mixer->ignore_ctl_error);
snd_iprintf(buffer, "Card: %s\n", chip->card->longname);
for (unitid = 0; unitid < MAX_ID_ELEMS; unitid++) {
for (cval = mixer->id_elems[unitid]; cval;