For ctrl out test, it needs length > vary, so in order to run it with
default parameters, we do this change.

Acked-by: Michal Nazarewicz <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
---
 tools/usb/testusb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/usb/testusb.c b/tools/usb/testusb.c
index 863d9e2..0692d99 100644
--- a/tools/usb/testusb.c
+++ b/tools/usb/testusb.c
@@ -394,7 +394,7 @@ int main (int argc, char **argv)
         *      low speed, interrupt    8 *  1     =     8
         */
        param.iterations = 1000;
-       param.length = 512;
+       param.length = 1024;
        param.vary = 512;
        param.sglen = 32;
 
@@ -455,7 +455,7 @@ usage:
                        "\t-n           no test running, show devices to be 
tested\n"
                        "Case arguments:\n"
                        "\t-c iterations                default 1000\n"
-                       "\t-s transfer length   default 512\n"
+                       "\t-s transfer length   default 1024\n"
                        "\t-g sglen             default 32\n"
                        "\t-v vary                      default 512\n",
                        argv[0]);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to