Skip to content

Commit

Permalink
mmc: Change SDHCI iomem error to a warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pierre Ossman committed Dec 11, 2006
1 parent 7b30d28 commit a98087c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a98087c

Please sign in to comment.