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]>
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 15:22:23 -08:00
+++ b/sound/usb/usbmidi.c 2005-03-30 15:22:23 -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;
}
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html