aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/vc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c
index 5d5f9e52f89f..d72b787a0d83 100644
--- a/arch/arm/mach-omap2/vc.c
+++ b/arch/arm/mach-omap2/vc.c
@@ -592,9 +592,12 @@ void __init omap_vc_init_channel(struct voltagedomain *voltdm)
592 voltdm->rmw(vc->smps_cmdra_mask, 592 voltdm->rmw(vc->smps_cmdra_mask,
593 vc->cmd_reg_addr << __ffs(vc->smps_cmdra_mask), 593 vc->cmd_reg_addr << __ffs(vc->smps_cmdra_mask),
594 vc->smps_cmdra_reg); 594 vc->smps_cmdra_reg);
595 vc->cfg_channel |= vc_cfg_bits->rac | vc_cfg_bits->racen; 595 vc->cfg_channel |= vc_cfg_bits->rac;
596 } 596 }
597 597
598 if (vc->cmd_reg_addr == vc->volt_reg_addr)
599 vc->cfg_channel |= vc_cfg_bits->racen;
600
598 /* Set up the on, inactive, retention and off voltage */ 601 /* Set up the on, inactive, retention and off voltage */
599 on_vsel = omap_vc_calc_vsel(voltdm, voltdm->vc_param->on); 602 on_vsel = omap_vc_calc_vsel(voltdm, voltdm->vc_param->on);
600 onlp_vsel = omap_vc_calc_vsel(voltdm, voltdm->vc_param->onlp); 603 onlp_vsel = omap_vc_calc_vsel(voltdm, voltdm->vc_param->onlp);