Browse Source

sdhci: don't warn about sdhci 2.0 controllers

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>
Pierre Ossman 17 years ago
parent
commit
c6573c9467
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mmc/host/sdhci.c

+ 1 - 1
drivers/mmc/host/sdhci.c

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