mmc: sdhci-pci: fix 'Invalid iomem size' error message condition

The SDHCI standard defines a 256 byte register set but a device
that specifies a larger iomem region is not an error. Alter the
message condition accordingly.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

authored by Adrian Hunter and committed by Chris Ball 90b3e6c5 6eb30adf

+1 -1
+1 -1
drivers/mmc/host/sdhci-pci.c
··· 1196 1196 return ERR_PTR(-ENODEV); 1197 1197 } 1198 1198 1199 - if (pci_resource_len(pdev, bar) != 0x100) { 1199 + if (pci_resource_len(pdev, bar) < 0x100) { 1200 1200 dev_err(&pdev->dev, "Invalid iomem size. You may " 1201 1201 "experience problems.\n"); 1202 1202 }