Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272757
b: refs/heads/master
c: 6a62b78
h: refs/heads/master
i:
  272755: eaa8ad1
v: v3
  • Loading branch information
Kevin Hilman committed Sep 15, 2011
1 parent 6ac7f13 commit 5a8ea4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d5c128289f5066a7c6bf27d6ba27a6ae425be757
refs/heads/master: 6a62b78d9aa6661cae1a7d30b574daf435a14c47
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-omap2/vc.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ void omap_vc_post_scale(struct voltagedomain *voltdm,
smps_delay = ((smps_steps * voltdm->pmic->step_size) /
voltdm->pmic->slew_rate) + 2;
udelay(smps_delay);

voltdm->nominal_volt = target_volt;
}

/* vc_bypass_scale - VC bypass method of voltage scaling */
Expand Down
6 changes: 5 additions & 1 deletion trunk/arch/arm/mach-omap2/voltage.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ int voltdm_scale(struct voltagedomain *voltdm,
return -ENODATA;
}

return voltdm->scale(voltdm, target_volt);
ret = voltdm->scale(voltdm, target_volt);
if (!ret)
voltdm->nominal_volt = target_volt;

return ret;
}

/**
Expand Down

0 comments on commit 5a8ea4c

Please sign in to comment.