Remove the iomem size check. The sdhci spec is ambiguous on this.

Andres Salomon dilinger at debian.org
Tue Nov 7 22:38:27 EST 2006


Commit:     48e92963dadd0f35903a4999e87224f3667d43d5
Parent:     ace529a24f828f7728a6509008cf94966e5d8f1e
commit 48e92963dadd0f35903a4999e87224f3667d43d5
Author:     Andres Salomon <dilinger at debian.org>
AuthorDate: Thu Oct 26 22:55:19 2006 -0400
Commit:     Andres Salomon <dilinger at debian.org>
CommitDate: Thu Oct 26 22:55:19 2006 -0400

    Remove the iomem size check.  The sdhci spec is ambiguous on this.
---
 drivers/mmc/sdhci.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index ebd1022..daafb82 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -1167,11 +1167,6 @@ static int __devinit sdhci_probe_slot(st
 		return -ENODEV;
 	}
 
-	if (pci_resource_len(pdev, first_bar + slot) != 0x100) {
-		printk(KERN_ERR DRIVER_NAME ": Invalid iomem size. Aborting.\n");
-		return -ENODEV;
-	}
-
 	if ((pdev->class & 0x0000FF) == PCI_SDHCI_IFVENDOR) {
 		printk(KERN_ERR DRIVER_NAME ": Vendor specific interface. Aborting.\n");
 		return -ENODEV;


More information about the Commits-kernel mailing list