sdhci: don't warn about sdhci 2.0 controllers
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 2 Dec 2007 18:46:49 +0000 (19:46 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 12 Dec 2007 19:01:00 +0000 (20:01 +0100)
We support 2.0 controllers, even though we don't use anything in the new
feature set.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c

index 17b4e391db3590a02feb53b931cfc3f30abed30d..758a7417eb50a8c2c08a7bb292632261c80b4e9a 100644 (file)
@@ -1294,7 +1294,7 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
 
        version = readw(host->ioaddr + SDHCI_HOST_VERSION);
        version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT;
-       if (version != 0) {
+       if (version > 1) {
                printk(KERN_ERR "%s: Unknown controller version (%d). "
                        "You may experience problems.\n", host->slot_descr,
                        version);