|
@@ -1874,7 +1874,7 @@ static int omap_hsmmc_probe(struct platform_device *pdev)
|
|
omap_hsmmc_context_save(host);
|
|
omap_hsmmc_context_save(host);
|
|
|
|
|
|
/* This can be removed once we support PBIAS with DT */
|
|
/* This can be removed once we support PBIAS with DT */
|
|
- if (host->dev->of_node && host->mapbase == 0x4809c000)
|
|
|
|
|
|
+ if (host->dev->of_node && res->start == 0x4809c000)
|
|
host->pbias_disable = 1;
|
|
host->pbias_disable = 1;
|
|
|
|
|
|
host->dbclk = clk_get(&pdev->dev, "mmchsdb_fck");
|
|
host->dbclk = clk_get(&pdev->dev, "mmchsdb_fck");
|