tools: usb: testusb: change the default value for length from 512 to 1024
authorPeter Chen <peter.chen@freescale.com>
Tue, 1 Sep 2015 01:48:04 +0000 (09:48 +0800)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
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 <mina86@mina86.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
tools/usb/testusb.c

index 863d9e2b3424a046be8c2f1f6b2fb2014f8112d5..0692d99b6d8f3076fc073e5fc8dee05b40e6740b 100644 (file)
@@ -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]);