From: Pierre Ossman Date: Tue, 11 Jul 2006 19:07:10 +0000 (+0200) Subject: [MMC] Change SDHCI version error to a warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b1b21853bab15fe5b60b8222786fe036c4dc365;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [MMC] Change SDHCI version error to a warning O2 Micro's controllers have a larger specification version value and are therefore denied by the driver. When bypassing this check they seem to work fine. This patch makes the code a bit more forgiving by changing the error to a warning. Signed-off-by: Pierre Ossman Signed-off-by: Russell King --- diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 6aba4a0f61a..4e21b3b9d33 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -1193,10 +1193,8 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot) version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT; if (version != 0) { printk(KERN_ERR "%s: Unknown controller version (%d). " - "Cowardly refusing to continue.\n", host->slot_descr, + "You may experience problems.\n", host->slot_descr, version); - ret = -ENODEV; - goto unmap; } caps = readl(host->ioaddr + SDHCI_CAPABILITIES);