[MMC] Change SDHCI version error to a warning
authorPierre Ossman <drzeus@drzeus.cx>
Tue, 11 Jul 2006 19:07:10 +0000 (21:07 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Jul 2006 15:17:46 +0000 (16:17 +0100)
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 <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/sdhci.c

index 6aba4a0f61a287689f0c4666580f54ba13eefbf2..4e21b3b9d330e4abf9834c22951cb18f8062828d 100644 (file)
@@ -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);