Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a98087cf authored by Pierre Ossman's avatar Pierre Ossman
Browse files

mmc: Change SDHCI iomem error to a warning



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: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 7b30d281
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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) {
	if (pci_resource_len(pdev, first_bar + slot) != 0x100) {
		printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. Aborting.\n");
		printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. "
		return -ENODEV;
			"You may experience problems.\n");
	}
	}


	if ((pdev->class & 0x0000FF) == PCI_SDHCI_IFVENDOR) {
	if ((pdev->class & 0x0000FF) == PCI_SDHCI_IFVENDOR) {