Patch: linux-2.5.70-bk10/sound/usb/audio.c fix
[Earlier today, I sent this message to [email protected] and meant to cc it to linux-sound, but accidentally cc'ed it to the invalid email address linux-audio. --Adam Richter]
linux-2.5.70-bk10/sound/usb/audio.c does not compile, due to a
debugging statement. Here is a proposed patch. If this looks good to you, could you please approve it and submit it to Linus?
Adam J. Richter __ ______________ 575 Oroville Road [email protected] \ / Miplitas, California 95035 +1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."
sound/usb/usbaudio.c 2003-06-05 15:24:41.000000000 -0700 renamed from sound/usb/usbaudio.c 2003-06-05 12:18:06.000000000 -0700 +1 -1
@@ -1944,7 +1944,7 @@ switch (format) { case 0: /* some devices don't define this correctly... */ snd_printdd(KERN_INFO "%d:%u:%d : format type 0 is detected, processed as PCM\n", - dev->devnum, iface_no, altno); + dev->devnum, fp->iface, fp->altsetting); /* fall-through */ case USB_AUDIO_FORMAT_PCM: if (sample_width > sample_bytes * 8) {