X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fmmc%2Fhost%2Fsdhci-of-core.c;h=c51b71174c1de1df6dce05482d8b2eb13b4d519e;hb=58d4ea65b98f154f3326b038eecda32f90b46ea8;hp=a6bd448a3b46eb7e8b7cfd3443e6e37ceec056ea;hpb=fbe0f8348fd6c3d016a3f48756eb729b41a67c22;p=~andy%2Flinux diff --git a/drivers/mmc/host/sdhci-of-core.c b/drivers/mmc/host/sdhci-of-core.c index a6bd448a3b4..c51b71174c1 100644 --- a/drivers/mmc/host/sdhci-of-core.c +++ b/drivers/mmc/host/sdhci-of-core.c @@ -154,6 +154,10 @@ static int __devinit sdhci_of_probe(struct platform_device *ofdev, host->ops = &sdhci_of_data->ops; } + if (of_get_property(np, "sdhci,auto-cmd12", NULL)) + host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; + + if (of_get_property(np, "sdhci,1-bit-only", NULL)) host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA;