diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2006-07-11 21:07:10 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-13 17:17:46 +0200 |
commit | 8b1b21853bab15fe5b60b8222786fe036c4dc365 (patch) | |
tree | 670d843e60ab985af0fcf166af38e6a1fed1085a /drivers | |
parent | [MMC] Fix incorrect register access (diff) | |
download | linux-8b1b21853bab15fe5b60b8222786fe036c4dc365.tar.xz linux-8b1b21853bab15fe5b60b8222786fe036c4dc365.zip |
[MMC] Change SDHCI version error to a warning
O2 Micro's controllers have a larger specification version value and are
therefore denied by the driver. When bypassing this check they seem to work
fine. This patch makes the code a bit more forgiving by changing the error
to a warning.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/sdhci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 6aba4a0f61a2..4e21b3b9d330 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -1193,10 +1193,8 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot) version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT; if (version != 0) { printk(KERN_ERR "%s: Unknown controller version (%d). " - "Cowardly refusing to continue.\n", host->slot_descr, + "You may experience problems.\n", host->slot_descr, version); - ret = -ENODEV; - goto unmap; } caps = readl(host->ioaddr + SDHCI_CAPABILITIES); |