diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm44xx.c')
-rwxr-xr-x | arch/arm/mach-omap2/pm44xx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c index f3a8e93..4bb5cd7 100755 --- a/arch/arm/mach-omap2/pm44xx.c +++ b/arch/arm/mach-omap2/pm44xx.c @@ -861,6 +861,9 @@ static int __init pwrdms_setup(struct powerdomain *pwrdm, void *unused) return -ENOMEM; pwrst->pwrdm = pwrdm; + + list_add(&pwrst->node, &pwrst_list); + if ((!strcmp(pwrdm->name, "mpu_pwrdm")) || (!strcmp(pwrdm->name, "core_pwrdm")) || (!strcmp(pwrdm->name, "cpu0_pwrdm")) || @@ -869,8 +872,6 @@ static int __init pwrdms_setup(struct powerdomain *pwrdm, void *unused) else omap4_configure_pwrst(off_mode_enabled); - list_add(&pwrst->node, &pwrst_list); - return omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); } |