dmatest: make module parameters writable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Jul 2013 15:36:46 +0000 (18:36 +0300)
committerDan Williams <djbw@fb.com>
Fri, 23 Aug 2013 05:57:32 +0000 (22:57 -0700)
commita6c268d033b1f363e0d76c0483a0f99266542820
treeaa8c3a5c286637c15ebe18ebe4d65d593d5bd783
parentc095ba7224d8edc71dcef0d655911399a8bd4a3f
dmatest: make module parameters writable

The debugfs interface brought a copy of the test case parameters. This makes
different set of values under /sys/module/dmatest/parameters/ and
/sys/kernel/debug/dmatest/. The user might be confused by the divergence of
values.

The proposed solution in this patch is to make module parameters writable and
remove them from the debugfs. Though we're still using debugfs to control test
runner and getting results.

Documentation part is updated accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Suggested-by: Dan Williams <djbw@fb.com>
Signed-off-by: Dan Williams <djbw@fb.com>
Documentation/dmatest.txt
drivers/dma/dmatest.c