mmc: sdhci-of-dwcmshc: Set timeout broken flag for rk platform

Actually from test, it seems the expected DATA timeout is broken
for some CMD transfers which is wired, so we have to add
SDHCI_QUIRK_BROKEN_TIMEOUT_VAL for sdhci core to always set max
timeout value

Change-Id: Ib41ca137f700f939a13c9f9d0fc30cb8590f1183
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
Shawn Lin
2020-12-21 08:17:22 +08:00
committed by Tao Huang
parent 0449e66bd5
commit 57621d50a1

View File

@@ -221,9 +221,10 @@ static const struct sdhci_pltfm_data sdhci_dwcmshc_pdata = {
static const struct sdhci_pltfm_data sdhci_dwcmshc_rk_pdata = {
.ops = &sdhci_dwcmshc_rk_ops,
.quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,
.quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN |
SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN,
SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN,
};
static int rockchip_pltf_init(struct sdhci_host *host, struct dwcmshc_priv *priv)