mmc: cqhci: Add cqhci_deactivate()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 Mar 2020 14:08:42 +0000 (19:38 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:39:52 +0000 (14:39 +0100)
commit0ffa6cfbd94982e6c028a8924b06a96c1b91bed8
tree9fd32396a669ab2a3715a9d6afbc55754103e021
parent1a91a36aba9c232c73e4a5fce038147f5d29e566
mmc: cqhci: Add cqhci_deactivate()

Host controllers can reset CQHCI either directly or as a consequence of
host controller reset. Add cqhci_deactivate() which puts the CQHCI
driver into a state that is consistent with that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Link: https://lore.kernel.org/r/1583503724-13943-2-git-send-email-vbadigan@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cqhci.c
drivers/mmc/host/cqhci.h