diff options
| author | Peter Chen <peter.chen@freescale.com> | 2015-08-31 21:48:04 -0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2015-09-27 11:54:31 -0400 |
| commit | 9e44d194b90b2d9e6e26cd0381db856fa7cd7e19 (patch) | |
| tree | 8bf0c6084372537ff95bce8015e38dfee29d6e73 /tools/usb/testusb.c | |
| parent | 0f286379ed72cfc2f9e9a4fd52e79b92d4edaa01 (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/usb/testusb.c')
| -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) | |||
| 394 | * low speed, interrupt 8 * 1 = 8 | 394 | * low speed, interrupt 8 * 1 = 8 |
| 395 | */ | 395 | */ |
| 396 | param.iterations = 1000; | 396 | param.iterations = 1000; |
| 397 | param.length = 512; | 397 | param.length = 1024; |
| 398 | param.vary = 512; | 398 | param.vary = 512; |
| 399 | param.sglen = 32; | 399 | param.sglen = 32; |
| 400 | 400 | ||
| @@ -455,7 +455,7 @@ usage: | |||
| 455 | "\t-n no test running, show devices to be tested\n" | 455 | "\t-n no test running, show devices to be tested\n" |
| 456 | "Case arguments:\n" | 456 | "Case arguments:\n" |
| 457 | "\t-c iterations default 1000\n" | 457 | "\t-c iterations default 1000\n" |
| 458 | "\t-s transfer length default 512\n" | 458 | "\t-s transfer length default 1024\n" |
| 459 | "\t-g sglen default 32\n" | 459 | "\t-g sglen default 32\n" |
| 460 | "\t-v vary default 512\n", | 460 | "\t-v vary default 512\n", |
| 461 | argv[0]); | 461 | argv[0]); |
