Skip to content

Commit

Permalink
[MMC] Change SDHCI version error to a warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pierre Ossman authored and Russell King committed Jul 13, 2006
1 parent fb61e28 commit 8b1b218
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/mmc/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8b1b218

Please sign in to comment.