forked from luck/tmp_suning_uos_patched
mmc: sdhci-s3c: Auto CMD12 support
Samsung SDHCI host controller supports the Auto CMD12. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
3362177fe1
commit
732f0e31db
|
@ -499,6 +499,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
|
||||||
* SDHCI block, or a missing configuration that needs to be set. */
|
* SDHCI block, or a missing configuration that needs to be set. */
|
||||||
host->quirks |= SDHCI_QUIRK_NO_BUSY_IRQ;
|
host->quirks |= SDHCI_QUIRK_NO_BUSY_IRQ;
|
||||||
|
|
||||||
|
/* This host supports the Auto CMD12 */
|
||||||
|
host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12;
|
||||||
|
|
||||||
if (pdata->cd_type == S3C_SDHCI_CD_NONE ||
|
if (pdata->cd_type == S3C_SDHCI_CD_NONE ||
|
||||||
pdata->cd_type == S3C_SDHCI_CD_PERMANENT)
|
pdata->cd_type == S3C_SDHCI_CD_PERMANENT)
|
||||||
host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
|
host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user