From: Marek Szyprowski Date: Wed, 11 Aug 2010 01:01:57 +0000 (-0700) Subject: sdhci-s3c: enable SDHCI_QUIRK_NO_HISPD_BIT quirk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a1d5646005af1247d6ae78434bb4db15b07a07b2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sdhci-s3c: enable SDHCI_QUIRK_NO_HISPD_BIT quirk This patch enables SDHCI_QUIRK_NO_HISPD_BIT on Samsung SDHCI driver. This solves detection problems with some external SD cards. This change has been tested on S5PC100 and S5PC110. It has no inpact on driver speed. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 47138afea2b5..f0b819d98a87 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c @@ -338,6 +338,7 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) /* Setup quirks for the controller */ host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; + host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT; #ifndef CONFIG_MMC_SDHCI_S3C_DMA