projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce03727
)
mmc: sdhci-pltfm: enable interrupt mode to detect card for ls1021a
author
Yangbo Lu
<
[email protected]
>
Wed, 16 Sep 2015 06:36:10 +0000
(14:36 +0800)
committer
Ulf Hansson
<
[email protected]
>
Mon, 26 Oct 2015 15:00:00 +0000
(16:00 +0100)
Enable interrupt mode to detect card instead of polling mode for
ls1021a by removing the quirk SDHCI_QUIRK_BROKEN_CARD_DETECTION.
This could improve data transferring performance and avoid the call
trace caused by polling card status sometime.
Signed-off-by: Yangbo Lu <
[email protected]
>
Signed-off-by: Ulf Hansson <
[email protected]
>
drivers/mmc/host/sdhci-of-esdhc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-esdhc.c
b/drivers/mmc/host/sdhci-of-esdhc.c
index 653f335bef1516ca9aba102e1f3ab21d99a754ce..2a54dbe83b2ca45eae89ea7f90daff74e454464f 100644
(file)
--- a/
drivers/mmc/host/sdhci-of-esdhc.c
+++ b/
drivers/mmc/host/sdhci-of-esdhc.c
@@
-371,7
+371,8
@@
static int sdhci_esdhc_probe(struct platform_device *pdev)
of_device_is_compatible(np, "fsl,p5020-esdhc") ||
of_device_is_compatible(np, "fsl,p4080-esdhc") ||
of_device_is_compatible(np, "fsl,p1020-esdhc") ||
- of_device_is_compatible(np, "fsl,t1040-esdhc"))
+ of_device_is_compatible(np, "fsl,t1040-esdhc") ||
+ of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {