ChangeSet 1.2020.1.89, 2005/03/08 00:18:07-08:00, [EMAIL PROTECTED]

[PATCH] usb/ipaq: change parameters of usb_{control,bulk}_msg() to msecs

Change units of parameters being passed to usb_{control,bulk}_msg() to
milliseconds. Patch is compile-tested.

Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/usb/serial/ipaq.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
--- a/drivers/usb/serial/ipaq.c 2005-03-08 16:46:47 -08:00
+++ b/drivers/usb/serial/ipaq.c 2005-03-08 16:46:47 -08:00
@@ -662,7 +662,7 @@
        while (retries--) {
                result = usb_control_msg(serial->dev,
                                usb_sndctrlpipe(serial->dev, 0), 0x22, 0x21,
-                               0x1, 0, NULL, 0, HZ / 10 + 1);
+                               0x1, 0, NULL, 0, 100);
                if (result == 0) {
                        return 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_ide95&alloc_id396&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