ChangeSet 1.2181.4.86, 2005/03/28 12:36:04-08:00, [EMAIL PROTECTED]
[PATCH] sound/usbmidi: change parameters of usb_bulk_msg() to msecs
Use milliseconds at the timeout parameter in the call to
usb_bulk_msg() to match the converted interface.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
sound/usb/usbmidi.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/sound/usb/usbmidi.c b/sound/usb/usbmidi.c
--- a/sound/usb/usbmidi.c 2005-03-30 13:30:58 -08:00
+++ b/sound/usb/usbmidi.c 2005-03-30 13:30:58 -08:00
@@ -287,7 +287,7 @@
memcpy(buf, data, len);
dump_urb("sending", buf, len);
err = usb_bulk_msg(ep->umidi->chip->dev, ep->urb->pipe, buf, len,
- NULL, HZ / 4);
+ NULL, 250);
kfree(buf);
return err;
}
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel