diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2006-12-07 13:17:20 -0500 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2006-12-11 03:48:42 -0500 |
commit | a98087cf81e91999a91ceedb2d2e3a95827c651f (patch) | |
tree | a2b6beae2e14f31cd0dbfb7abb5284b974708176 /drivers | |
parent | 7b30d281b9c115890c75d11eaf06881261c256da (diff) |
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: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/sdhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index cd98117632d3..c2d13d7e9911 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c | |||
@@ -1170,8 +1170,8 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot) | |||
1170 | } | 1170 | } |
1171 | 1171 | ||
1172 | if (pci_resource_len(pdev, first_bar + slot) != 0x100) { | 1172 | if (pci_resource_len(pdev, first_bar + slot) != 0x100) { |
1173 | printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. Aborting.\n"); | 1173 | printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. " |
1174 | return -ENODEV; | 1174 | "You may experience problems.\n"); |
1175 | } | 1175 | } |
1176 | 1176 | ||
1177 | if ((pdev->class & 0x0000FF) == PCI_SDHCI_IFVENDOR) { | 1177 | if ((pdev->class & 0x0000FF) == PCI_SDHCI_IFVENDOR) { |