From: Clemens Ladisch Date: Mon, 16 Feb 2009 14:22:39 +0000 (+0100) Subject: sound: usb-audio: fix uninitialized variable with M-Audio MIDI interfaces X-Git-Tag: v2.6.27.20~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c18c7e7a02d6d922dc937913560caedc2159bbcd;p=pandora-kernel.git sound: usb-audio: fix uninitialized variable with M-Audio MIDI interfaces commit e156ac4c571e3be741bc411e58820b74a9295c72 upstream. Fix the snd_usbmidi_create_endpoints_midiman() function, which forgot to set the out_interval member of the endpoint info structure for Midiman/ M-Audio devices. Since kernel 2.6.24, any non-zero value makes the driver use interrupt transfers instead of bulk transfers. With EHCI controllers, these random interval values result in unbearably large latencies for output MIDI transfers. Signed-off-by: Clemens Ladisch Reported-by: David Tested-by: David Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed