diff options
author | Kishore Kadiyala <kishore.kadiyala@ti.com> | 2010-07-09 20:20:08 +0530 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-07-09 20:49:45 +0530 |
commit | 377d14a09c1bca49dc5ed78925772bd7e8cb26d4 (patch) | |
tree | b88458be92f97657fd6157589364772158e017ce /drivers/mmc | |
parent | 9dab9ebe7097e3ca28fb5aaa494e31c638c8f18e (diff) |
omap:hsmmc: Intially enable clocks with NO RUNTIME
If CONFIG_RUNTIME is not enabled , enable the clocks.
This patch has to be removed once HWMOD takes care of
enabling the clocks.
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Diffstat (limited to 'drivers/mmc')
-rwxr-xr-x | drivers/mmc/host/omap_hsmmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 17bdf5bdc778..9927e7c4eb54 100755 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -2069,6 +2069,11 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev) host->dpm_state = DISABLED; pm_runtime_enable(host->dev); + +#ifndef CONFIG_PM_RUNTIME + /* TODO Once HWMOD takes care of enabling clks in init remove this */ + omap_device_enable(pdev); +#endif if (mmc_host_enable(host->mmc) != 0) goto err1; |