diff options
author | Peter Chen <peter.chen@freescale.com> | 2015-09-01 09:48:04 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 11:02:14 -0600 |
commit | c572c226e7cea318dcacedbb885ee8092c009d09 (patch) | |
tree | 3c292dbecc5f36c3c40e2d2d078f34fdfbe48392 /tools | |
parent | ea5b6b4af54db2cd45d65de6bb3e81dffdb948c7 (diff) |
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: 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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/usb/testusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/usb/testusb.c b/tools/usb/testusb.c index 863d9e2b3424..0692d99b6d8f 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]); |