All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usbaudio.c in 2.5.45
@ 2002-11-01  1:20 Pedro Lopez-Cabanillas
  2002-11-04  9:06 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Lopez-Cabanillas @ 2002-11-01  1:20 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

Hi,

Please, find attached a trivial patch for usbaudio.c (2.5.45) that fixes a 
compilation problem triggered by CONFIG_SND_DEBUG_DETECT

Regards,
Pedro

-- 
ALSA Library Bindings for Pascal
http://alsapas.alturl.com

[-- Attachment #2: patch.usbaudio --]
[-- Type: text/x-diff, Size: 609 bytes --]

--- usbaudio.c.orig	Fri Nov  1 02:09:38 2002
+++ usbaudio.c	Thu Oct 31 22:10:30 2002
@@ -1879,7 +1879,7 @@
 		}
 		if (iface->altsetting[0].desc.bInterfaceClass != USB_CLASS_AUDIO ||
 		    iface->altsetting[0].desc.bInterfaceSubClass != USB_SUBCLASS_AUDIO_STREAMING) {
-			snd_printdd(KERN_ERR "%d:%u:%d: skipping non-supported interface %d\n", dev->devnum, ctrlif, j, iface->altsetting[0].bInterfaceClass);
+			snd_printdd(KERN_ERR "%d:%u:%d: skipping non-supported interface %d\n", dev->devnum, ctrlif, j, iface->altsetting[0].desc.bInterfaceClass);
 			/* skip non-supported classes */
 			continue;
 		}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] usbaudio.c in 2.5.45
  2002-11-01  1:20 [PATCH] usbaudio.c in 2.5.45 Pedro Lopez-Cabanillas
@ 2002-11-04  9:06 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-11-04  9:06 UTC (permalink / raw)
  To: Pedro Lopez-Cabanillas; +Cc: Jaroslav Kysela, alsa-devel

At Fri, 1 Nov 2002 02:20:03 +0100,
Pedro Lopez-Cabanillas wrote:
> 
> Hi,
> 
> Please, find attached a trivial patch for usbaudio.c (2.5.45) that fixes a 
> compilation problem triggered by CONFIG_SND_DEBUG_DETECT

thanks for your patch.
i changed the code to get work both on 2.5 and 2.4 (and fixed the
relevant part, too).
please give a try.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-04  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01  1:20 [PATCH] usbaudio.c in 2.5.45 Pedro Lopez-Cabanillas
2002-11-04  9:06 ` Takashi Iwai

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.