Hi,
Description: Change units of parameters being passed to
usb_{control,bulk}_msg() to milliseconds. Patch is
compile-tested.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
--- 2.6.11-rc3-kj-v/drivers/usb/misc/usbled.c 2005-02-03 16:57:40.000000000
-0800
+++ 2.6.11-rc3-kj/drivers/usb/misc/usbled.c 2005-02-08 13:56:29.000000000
-0800
@@ -74,7 +74,7 @@ static void change_color(struct usb_led
(0x00 * 0x100) + color,
buffer,
8,
- 2 * HZ);
+ 2000);
if (retval)
dev_dbg(&led->udev->dev, "retval = %d\n", retval);
kfree(buffer);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel