]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddc7fdba6609465d4ea4dc9befead544580d7805
tree27e4e90bd954cbfed7e8566da863f2a2eafe3793
parenta011352f19edd951e02b5439072c4308bf175d6b
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