You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
588 B
16 lines
588 B
5 years ago
|
diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c
|
||
|
index 942b42b..b678310 100644
|
||
|
--- a/drivers/mmc/host/sdhci-brcmstb.c
|
||
|
+++ b/drivers/mmc/host/sdhci-brcmstb.c
|
||
|
@@ -71,6 +71,10 @@ static int sdhci_brcmstb_probe(struct platform_device *pdev)
|
||
|
struct clk *clk;
|
||
|
int res;
|
||
|
|
||
|
+ if (platform_get_resource(pdev, IORESOURCE_MEM, 0) && (unsigned int)platform_get_resource(pdev, IORESOURCE_MEM, 0)->start == 0xf03e0000) {
|
||
|
+ return -ENODEV;
|
||
|
+ }
|
||
|
+
|
||
|
clk = devm_clk_get(&pdev->dev, NULL);
|
||
|
if (IS_ERR(clk)) {
|
||
|
dev_err(&pdev->dev, "Clock not found in Device Tree\n");
|