mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user