]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: mmc_test: Fix "Commands during non-blocking write" tests
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 4 Nov 2016 11:41:05 +0000 (13:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Nov 2016 12:28:38 +0000 (13:28 +0100)
commitbe55f7bee39ed019713c5a1e930214e6d744fe0f
tree29033a250d80b429e7f943a249125b52c8ca3bd0
parent086b0ddbeff5317026417c29752129d28a216c66
mmc: mmc_test: Fix "Commands during non-blocking write" tests

mmc_test_check_result_async() requires that struct mmc_async_req is
contained within struct mmc_test_async_req. Fix the "Commands during
non-blocking write" tests so that is the case.

Fixes: 4bbb9aac9a9a ("mmc: mmc_test: Add tests for sending commands during transfer")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/mmc_test.c