]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 08:09:59 +0000 (09:09 +0100)
commitb19715a17b620825d7d58b11870c82621b10cd83
treece09df65283a0b9565d7c82605f47c33a3de3745
parentbe5494a8f85b9e1e1172a6d8e4dffe413913d4e1
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