ChangeSet 1.2020.1.90, 2005/03/08 00:18:33-08:00, [EMAIL PROTECTED]

[PATCH] usb/ipw: 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/ipw.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)


diff -Nru a/drivers/usb/serial/ipw.c b/drivers/usb/serial/ipw.c
--- a/drivers/usb/serial/ipw.c  2005-03-08 16:46:40 -08:00
+++ b/drivers/usb/serial/ipw.c  2005-03-08 16:46:40 -08:00
@@ -232,7 +232,7 @@
                                 0, /* index */
                                 NULL,
                                 0,
-                                100*HZ);
+                                100000);
        if (result < 0)
                dev_err(&port->dev, "Init of modem failed (error = %d)", 
result);
 
@@ -260,7 +260,7 @@
                                 0, /* index */
                                 NULL,
                                 0,
-                                100*HZ);
+                                100000);
        if (result < 0) 
                dev_err(&port->dev, "Enabling bulk RxRead failed (error = %d)", 
result);
 
@@ -273,7 +273,7 @@
                                 0,
                                 buf_flow_init,
                                 0x10,
-                                200*HZ);
+                                200000);
        if (result < 0)
                dev_err(&port->dev, "initial flowcontrol failed (error = %d)", 
result);
 
@@ -287,7 +287,7 @@
                                 0,
                                 NULL,
                                 0,
-                                200*HZ);
+                                200000);
        if (result < 0)
                dev_err(&port->dev, "setting dtr failed (error = %d)", result);
 
@@ -300,7 +300,7 @@
                                 0,
                                 NULL,
                                 0,
-                                200*HZ);
+                                200000);
        if (result < 0)
                dev_err(&port->dev, "setting dtr failed (error = %d)", result);
        
@@ -327,7 +327,7 @@
                                 0,
                                 NULL,
                                 0,
-                                200*HZ);
+                                200000);
        if (result < 0)
                dev_err(&port->dev, "dropping dtr failed (error = %d)", result);
 
@@ -339,7 +339,7 @@
                                 0,
                                 NULL,
                                 0,
-                                200*HZ);
+                                200000);
        if (result < 0)
                dev_err(&port->dev, "dropping rts failed (error = %d)", result);
 
@@ -352,7 +352,7 @@
                                 0,
                                 NULL,
                                 0,
-                                200*HZ);
+                                200000);
        if (result < 0)
                dev_err(&port->dev, "purge failed (error = %d)", result);
 
@@ -365,7 +365,7 @@
                                 0, /* index */
                                 NULL,
                                 0,
-                                100*HZ);
+                                100000);
 
        if (result < 0)
                dev_err(&port->dev, "Disabling bulk RxRead failed (error = 
%d)", result);



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