projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ca6352
)
mmc: sdhci-of-esdhc: add quirk SDHCI_QUIRK_BROKEN_TIMEOUT_VAL for ls1021a
author
yangbo lu
<yangbo.lu@freescale.com>
Thu, 8 Oct 2015 10:36:57 +0000
(18:36 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:09 +0000
(16:00 +0100)
Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci-of-esdhc.c
b/drivers/mmc/host/sdhci-of-esdhc.c
index 910838f42e69ea67890a1cbaa06881a421247982..7b9282b6eac9c91bdde1d2df2c208818d34c3487 100644
(file)
--- a/
drivers/mmc/host/sdhci-of-esdhc.c
+++ b/
drivers/mmc/host/sdhci-of-esdhc.c
@@
-602,6
+602,9
@@
static int sdhci_esdhc_probe(struct platform_device *pdev)
of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
+ if (of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
+ host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
+
if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
/*
* Freescale messed up with P2020 as it has a non-standard