]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmatest: create dmatest_info to keep test parameters
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2013 09:09:27 +0000 (11:09 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 1 Apr 2013 16:42:10 +0000 (22:12 +0530)
commit082d7410d78b5f2faa0a3f9c8f179a6b73d5f22a
tree830026240680d8c690c852296da928d39d56a6e5
parent76672b7e3bf28693224954519b89c778fbf7414b
dmatest: create dmatest_info to keep test parameters

The proposed change will remove usage of the module parameters as global
variables. In future it helps to run different test cases sequentially.

The patch introduces the run_threaded_test() and stop_threaded_test() functions
that could be used later outside of dmatest_init, dmatest_exit scope.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmatest.c