Merge commit '75dfde714bbe81e938190142d07307fa864fda34'

* commit '75dfde714bbe81e938190142d07307fa864fda34':
  mmc: sdhci-dwc: Fix SDHCI_RESET_ALL for CQHCI for rk35xx

Change-Id: I3a921c1743fade989398fb0a9d84cd76e27ef4b8
This commit is contained in:
Tao Huang
2024-06-25 10:09:37 +08:00

View File

@@ -529,6 +529,9 @@ static void rk35xx_sdhci_reset(struct sdhci_host *host, u8 mask)
struct rk35xx_priv *priv = dwc_priv->priv;
u32 extra = sdhci_readl(host, DECMSHC_EMMC_MISC_CON);
if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL))
cqhci_deactivate(host->mmc);
if (mask & SDHCI_RESET_ALL && priv->reset) {
reset_control_assert(priv->reset);
udelay(1);