ChangeSet 1.2020.1.71, 2005/03/08 00:10:23-08:00, [EMAIL PROTECTED]

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

Change units of parameters being passed to usb_{control,bulk}_msg() to
milliseconds. USB_CTRL_{GET,SET}_TIMEOUT were converted to milliseconds
in a separate patch. Patch is compile-tested.

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


 drivers/usb/media/se401.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/drivers/usb/media/se401.c b/drivers/usb/media/se401.c
--- a/drivers/usb/media/se401.c 2005-03-08 16:48:51 -08:00
+++ b/drivers/usb/media/se401.c 2005-03-08 16:48:51 -08:00
@@ -122,7 +122,7 @@
                 0,
                 cp,
                 size,
-                HZ
+                1000
         );
 }
 
@@ -142,7 +142,7 @@
                selector,
                 NULL,
                 0,
-                HZ
+                1000
         );
 }
 
@@ -162,7 +162,7 @@
                 selector,
                 cp,
                 2,
-                HZ
+                1000
         );
        return cp[0]+cp[1]*256;
 }



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