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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2018 07:42:56 +0000 (08:42 +0100)
commit4117e8971923846e5723dc5b9c29f838be52ef88
tree7c0cd04e2ce9b86a01254361cfaaeec865214332
parentb45ccc79b04afad1f2c95f9fde7b9dded1ff961c
mmc: mmc_test: Ensure command queue is disabled for testing

[ Upstream commit 23a185254ace8e63dc4ca36e0315aed9440ae749 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/mmc_test.c