mmc: core: Turn off CQE before sending commands
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 10 Aug 2017 12:08:09 +0000 (15:08 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:33 +0000 (15:03 +0200)
commit3e207c8cfaa900590590d2dfdbc5be155f258d7b
tree27e4e90bd954cbfed7e8566da863f2a2eafe3793
parentd3bf68ae04c7e29ed3c30b7f4b1f0c6a4a11c7f1
mmc: core: Turn off CQE before sending commands

CQE needs to be off for the host controller to accept non-CQ commands. Turn
off the CQE before sending commands, and ensure it is off in any reset or
power management paths, or re-tuning.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c