From: Pierre Ossman Date: Sun, 2 Dec 2007 18:46:49 +0000 (+0100) Subject: sdhci: don't warn about sdhci 2.0 controllers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6573c94670882079174e2ea0da4abf1a0da51fe;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sdhci: don't warn about sdhci 2.0 controllers We support 2.0 controllers, even though we don't use anything in the new feature set. Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 17b4e391db35..758a7417eb50 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1294,7 +1294,7 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot) version = readw(host->ioaddr + SDHCI_HOST_VERSION); version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT; - if (version != 0) { + if (version > 1) { printk(KERN_ERR "%s: Unknown controller version (%d). " "You may experience problems.\n", host->slot_descr, version);