]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:06 +0000 (14:11 +0200)
commited0abded73908ef075c81eda336e81768be9a286
treee3b3be7e5dd33223956aae7eae3bd6f8e7a2a3a9
parent45f10589ec83e5a292f46476428386287072642d
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.

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