mmc: mmc_test: add test for non-blocking transfers
authorPer Forlin <per.forlin@linaro.org>
Fri, 1 Jul 2011 16:55:26 +0000 (18:55 +0200)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:15:25 +0000 (13:15 -0800)
commit42bd26656be29284cbc518b34b418977d01a1ddd
tree8d81504454d91e505a7cdb16fd0e30375040f157
parentbe285a67481c59d1ec4b98a5278fa3d44de4a375
mmc: mmc_test: add test for non-blocking transfers

Add four tests for read and write performance per
different transfer size, 4k to 4M.
 * Read using blocking mmc request
 * Read using non-blocking mmc request
 * Write using blocking mmc request
 * Write using non-blocking mmc request

The host driver must support pre_req() and post_req()
in order to run the non-blocking test cases.

Change-Id: Ief4ec9607d09659acce7ce30e0d13378576f2c11
Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Venkatraman S <svenkatr@ti.com>
Tested-by: Sourav Poddar<sourav.poddar@ti.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c