diff options
author | Kevin Hilman <khilman@ti.com> | 2011-07-18 18:48:22 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 14:39:10 -0400 |
commit | 4d47506a85a9f2e745dc63215594e9f799aff3dc (patch) | |
tree | 38b47aceb74731fbbcb3b8192748a67c704523eb | |
parent | d84adcf46b9c235d1f4975b72a8c2763dbfb0081 (diff) |
OMAP2+: voltage: enable VC bypass scale method when VC is initialized
VC is initialized first, set default scaling method to VC bypass.
If/when VP is initialized, default scaling method will be changed to
VP force-update.
Enabling VC bypass as default as soon as VC is initialized allows for
VC bypass scaling to work when no VP is configured/initialized for a
given voltage domain.
Signed-off-by: Kevin Hilman <khilman@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/voltage.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c index c6352e3230b7..e1a22a3d2f03 100644 --- a/arch/arm/mach-omap2/voltage.c +++ b/arch/arm/mach-omap2/voltage.c | |||
@@ -802,8 +802,10 @@ int __init omap_voltage_late_init(void) | |||
802 | if (!voltdm->scalable) | 802 | if (!voltdm->scalable) |
803 | continue; | 803 | continue; |
804 | 804 | ||
805 | if (voltdm->vc) | 805 | if (voltdm->vc) { |
806 | voltdm->vdd->volt_scale = omap_vc_bypass_scale; | ||
806 | omap_vc_init_channel(voltdm); | 807 | omap_vc_init_channel(voltdm); |
808 | } | ||
807 | 809 | ||
808 | if (voltdm->vdd) { | 810 | if (voltdm->vdd) { |
809 | if (omap_vdd_data_configure(voltdm)) | 811 | if (omap_vdd_data_configure(voltdm)) |