dmaengine: dmatest: correct thread_count while using multiple thread per channel
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 6 Jul 2009 16:19:44 +0000 (18:19 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 23 Jul 2009 05:11:28 +0000 (22:11 -0700)
commitf1aef8b6e6abf32a3a269542f95a19e2cb319f6c
treef364595263d6c99487bbbcfb4767326694bb2aff
parent0a2ff57d6fba92842272889b4bca447344cd9d36
dmaengine: dmatest: correct thread_count while using multiple thread per channel

It seems that thread_count is not properly calculated in dmatest.
In fact the thread count number that is returned from dmatest_add_threads() is
not correctly added to the thread_count and thus not properly printed.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: 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