projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7626b7
)
sdhci-pltfm: do not print errors in case of an extended iomem size
author
Anton Vorontsov
<
[email protected]
>
Wed, 26 May 2010 21:41:56 +0000
(14:41 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 27 May 2010 16:12:39 +0000
(09:12 -0700)
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]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/mmc/host/sdhci-pltfm.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-pltfm.c
b/drivers/mmc/host/sdhci-pltfm.c
index 217b911a2635aa8b67ebc81f6e546b83e46cd098..b6ee0d71969898257cf625b6b21cc37b3426a9f6 100644
(file)
--- a/
drivers/mmc/host/sdhci-pltfm.c
+++ b/
drivers/mmc/host/sdhci-pltfm.c
@@
-61,7
+61,7
@@
static int __devinit sdhci_pltfm_probe(struct platform_device *pdev)
goto err;
}
- if (resource_size(iomem)
!=
0x100)
+ if (resource_size(iomem)
<
0x100)
dev_err(&pdev->dev, "Invalid iomem size. You may "
"experience problems.\n");