commit | 2d88ce76eb98c4ac4411dcb299cf61ca8999d2b9 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Nov 06 16:30:09 2013 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Nov 14 11:04:40 2013 -0800 |
tree | 2422e0f7dcb01fdc596c8806174c69508aad2540 | |
parent | 86727443a04fdb25397041188efd2527f2b7237b [diff] |
dmatest: add a 'wait' parameter Allows for scripting test runs by module load / unload. Prevent module load from returning until 'iterations' (finite) tests have completed, or cause reads of the 'wait' parameter in sysfs to pause until the tests are done. Also killed the local waitqueue since we can just let the thread exit naturally as long as we hold a reference. Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>