]> git.baikalelectronics.ru Git - kernel.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)
commita81300c8e3653f7351af3a4f5d7bbcf8e6e86041
tree29033a250d80b429e7f943a249125b52c8ca3bd0
parenteb5751c89cab0091860010a2e5890a6cac978585
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: 82acd76efb53 ("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