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/class/cdc-acm.c 2005-02-03 16:57:40.000000000 
-0800
+++ 2.6.11-rc3-kj/drivers/usb/class/cdc-acm.c   2005-02-08 11:02:48.000000000 
-0800
@@ -89,7 +89,7 @@ static int acm_ctrl_msg(struct acm *acm,
        int retval = usb_control_msg(acm->dev, usb_sndctrlpipe(acm->dev, 0),
                request, USB_RT_ACM, value,
                acm->control->altsetting[0].desc.bInterfaceNumber,
-               buf, len, HZ * 5);
+               buf, len, 5000);
        dbg("acm_control_msg: rq: 0x%02x val: %#x len: %#x result: %d", 
request, value, len, retval);
        return retval < 0 ? retval : 0;
 }


-------------------------------------------------------
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

Reply via email to