Commit 9e44d194 authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi

tools: usb: testusb: change the default value for length from 512 to 1024

For ctrl out test, it needs length > vary, so in order to run it with
default parameters, we do this change.
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 0f286379
...@@ -394,7 +394,7 @@ int main (int argc, char **argv) ...@@ -394,7 +394,7 @@ int main (int argc, char **argv)
* low speed, interrupt 8 * 1 = 8 * low speed, interrupt 8 * 1 = 8
*/ */
param.iterations = 1000; param.iterations = 1000;
param.length = 512; param.length = 1024;
param.vary = 512; param.vary = 512;
param.sglen = 32; param.sglen = 32;
...@@ -455,7 +455,7 @@ int main (int argc, char **argv) ...@@ -455,7 +455,7 @@ int main (int argc, char **argv)
"\t-n no test running, show devices to be tested\n" "\t-n no test running, show devices to be tested\n"
"Case arguments:\n" "Case arguments:\n"
"\t-c iterations default 1000\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-g sglen default 32\n"
"\t-v vary default 512\n", "\t-v vary default 512\n",
argv[0]); argv[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment