From d217d96c2adf4779890e5f6bb2a7c6515e308dc7 Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Thu, 11 Jun 2015 14:57:53 +0800 Subject: mmc: sdhci-pltfm: enable interrupt mode to detect card 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 Change-Id: Id965cd89b16f3f4d8327f1ca3d7ba9ed146e7a44 Reviewed-on: http://git.am.freescale.net:8181/37819 Tested-by: Review Code-CDREVIEW Reviewed-by: Xiaobo Xie Reviewed-by: Zhengxiong Jin diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index 5c7c168..c1a37a6 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -112,7 +112,8 @@ void sdhci_get_of_property(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,t1040-esdhc") || - of_device_is_compatible(np, "fsl,p1020-esdhc")) + of_device_is_compatible(np, "fsl,p1020-esdhc") || + of_device_is_compatible(np, "fsl,ls1021a-esdhc")) host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION; clk = of_get_property(np, "clock-frequency", &size); -- cgit v0.10.2