mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
Merge commit '75dfde714bbe81e938190142d07307fa864fda34'
* commit '75dfde714bbe81e938190142d07307fa864fda34': mmc: sdhci-dwc: Fix SDHCI_RESET_ALL for CQHCI for rk35xx Change-Id: I3a921c1743fade989398fb0a9d84cd76e27ef4b8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user