Skip to contentSkip to conversation

usbaudio.c in 2.5.45

PATCH In review Pedro Lopez-Cabanillas 2 participants 2 messages Nov 1, 2002 – Nov 4, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usbaudio.c in 2.5.45

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

Signature · 2 lines
ALSA Library Bindings for Pascal
http://alsapas.alturl.com
usbaudio.c renamed from usbaudio.c.orig +1 -1
@@ -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;
 		}
#1 lore raw

At Fri, 1 Nov 2002 02:20:03 +0100,

Quoted 5 lines · Pedro Lopez-Cabanillas

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