Commit 7affdc17 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA: usbmixer - add usb_id value to usbmixer proc file

Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent ebfdeea3
...@@ -1856,8 +1856,9 @@ static void snd_usb_mixer_proc_read(struct snd_info_entry *entry, ...@@ -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) { list_for_each_entry(mixer, &chip->mixer_list, list) {
snd_iprintf(buffer, snd_iprintf(buffer,
"USB Mixer: ctrlif=%i, ctlerr=%i\n", "USB Mixer: usb_id=0x%08x, ctrlif=%i, ctlerr=%i\n",
mixer->ctrlif, mixer->ignore_ctl_error); chip->usb_id, mixer->ctrlif,
mixer->ignore_ctl_error);
snd_iprintf(buffer, "Card: %s\n", chip->card->longname); snd_iprintf(buffer, "Card: %s\n", chip->card->longname);
for (unitid = 0; unitid < MAX_ID_ELEMS; unitid++) { for (unitid = 0; unitid < MAX_ID_ELEMS; unitid++) {
for (cval = mixer->id_elems[unitid]; cval; for (cval = mixer->id_elems[unitid]; cval;
......
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