[PATCH V3 0/2] Deactivate CQE during SDHC reset

Veerabhadrarao Badiganti
2020-03-06T14:09:31Z

Host controllers can reset CQHCI either directly or as a consequence
of host controller reset. In the later case, driver should deactivate
CQHCI just before reset to puts the CQHCI driver into a state that is
consistent with that h/w state.

Changes sicne V2:
- Added support cqhci_deactivate()
- Use cqhci_deactivate() instead of cqhci_disable().
- Deactivate CQCHI just before SDHC reset.

Changes since V1:
- Disable CQE only when SDHC undergoes s/w reset for all.

Adrian Hunter (1):
mmc: cqhci: Add cqhci_deactivate()

Veerabhadrarao Badiganti (1):
mmc: sdhci-msm: Deactivate CQE during SDHC reset

drivers/mmc/host/cqhci.c | 6 +++---
drivers/mmc/host/cqhci.h | 6 +++++-
drivers/mmc/host/sdhci-msm.c | 9 ++++++++-
3 files changed, 16 insertions(+), 5 deletions(-)

--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project