sdhci-pltfm: do not print errors in case of an extended iomem size
PATCH 5/203 sdhci-pltfm: do not print errors in case of an extended iomem size
From: Anton Vorontsov <[email protected]>
Some hosts have an extended SDHCI iomem size, so the driver should only print errors if the iomem size is less than 0x100.
Signed-off-by Anton Vorontsov <[email protected]>
Acked-by Richard Röjfors <[email protected]>
Cc David Vrabel <[email protected]>
Cc Pierre Ossman <[email protected]>
Cc Ben Dooks <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mmc/host/sdhci-pltfm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci-pltfm.c renamed from drivers/mmc/host/sdhci-pltfm.c~sdhci-pltfm-do-not-print-errors-in-case-of-an-extended-iomem-size +1 -1
@@ -61,7 +61,7 @@ static int __devinit sdhci_pltfm_probe(s goto err; } -if (resource_size (iomem) !=0x100 ) +if (resource_size (iomem) <0x100 )dev_err (&pdev->dev,"Invalid iomem size. You may " "experience problems.\n" );
_