summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-02-16 15:22:39 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-16 15:31:48 +0100
commite156ac4c571e3be741bc411e58820b74a9295c72 (patch)
tree0242ae04e411c660a2dd92ec217e7abf8bbc3f13 /sound/usb/usbaudio.c
parentd2f8d7ee1a9b4650b4e43325b321801264f7c37a (diff)
sound: usb-audio: fix uninitialized variable with M-Audio MIDI interfaces
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 <clemens@ladisch.de> Reported-by: David <devurandom@foobox.com> Tested-by: David <devurandom@foobox.com> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.c')
0 files changed, 0 insertions, 0 deletions