dmaengine: dmatest: add a maximum number of test iterations
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 3 Jul 2009 17:26:51 +0000 (19:26 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 23 Jul 2009 05:05:26 +0000 (22:05 -0700)
commit0a2ff57d6fba92842272889b4bca447344cd9d36
tree91dbcb3d8a668f1aac6c2859921294e74df70b66
parentc019894efc9c9ba5939948caa78c133b1ec8ae63
dmaengine: dmatest: add a maximum number of test iterations

The dmatest usually waits for the killing of its kthreads to stop
running tests.  This patch adds a parameter that sets a maximum
number of test iterations.

This feature is quite interesting for debugging when you set a lot of
traces in your dmaengine controller driver.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c