mmc: mmc_test: Disable Command Queue while mmc_test is used
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 13 Mar 2017 12:36:38 +0000 (14:36 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:02 +0000 (21:42 +0200)
commit9d4579a85c84340044b10ffa6cd576397f59dc93
treee52b4118053ec75fe88ded78a0ac6b2ac7f3d2ff
parentb658af718465cd1e8011c8da281befdfc2debefd
mmc: mmc_test: Disable Command Queue while mmc_test is used

Normal read and write commands may not be used while the command queue is
enabled. Disable the Command Queue when mmc_test is probed and re-enable it
when it is removed.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Harjani Ritesh <riteshh@codeaurora.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc_test.c
include/linux/mmc/card.h