OSDN Git Service

mmc: mmc_test: Ensure command queue is disabled for testing
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 1 Dec 2017 12:55:31 +0000 (14:55 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Dec 2017 11:51:29 +0000 (12:51 +0100)
commit23a185254ace8e63dc4ca36e0315aed9440ae749
tree986d53b4815314d3547c4bb04b86fccc1ca94fea
parentd2383318c5a626312d166217e3788e54b1650c56
mmc: mmc_test: Ensure command queue is disabled for testing

mmc_test disables the command queue because none of the tests use the
command queue. However the Reset Test will re-enable it, so disable it in
that case too.

Fixes: 9d4579a85c84 ("mmc: mmc_test: Disable Command Queue while mmc_test is used")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_test.c