mmc: Change SDHCI iomem error to a warning
authorPierre Ossman <drzeus@drzeus.cx>
Thu, 7 Dec 2006 18:17:20 +0000 (19:17 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 11 Dec 2006 08:48:42 +0000 (09:48 +0100)
Some controllers report an invalid iomem size, but seem to work
correctly anyway. Change our current error to just a warning and
hope it doesn't cause too much problems.

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

index cd98117632d38e66687ad8aa91185c5dccf9a067..c2d13d7e99111f986e4c4d136f3c72ba95a5f4d8 100644 (file)
@@ -1170,8 +1170,8 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
        }
 
        if (pci_resource_len(pdev, first_bar + slot) != 0x100) {
-               printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. Aborting.\n");
-               return -ENODEV;
+               printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. "
+                       "You may experience problems.\n");
        }
 
        if ((pdev->class & 0x0000FF) == PCI_SDHCI_IFVENDOR) {