All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch: linux-2.5.70-bk10/sound/usb/audio.c fix
@ 2003-06-06  1:50 Adam J. Richter
  0 siblings, 0 replies; only message in thread
From: Adam J. Richter @ 2003-06-06  1:50 UTC (permalink / raw)
  To: linux-sound

[Earlier today, I sent this message to tiwai@suse.de 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
adam@yggdrasil.com     \ /                  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."

--- linux-2.5.70-bk10/sound/usb/usbaudio.c      2003-06-05 12:18:06.000000000 -0700
+++ linux/sound/usb/usbaudio.c  2003-06-05 15:24:41.000000000 -0700
@@ -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) {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-06  1:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06  1:50 Patch: linux-2.5.70-bk10/sound/usb/audio.c fix Adam J. Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.