diff options
author | Kevin Hilman <khilman@ti.com> | 2012-03-02 14:08:57 -0800 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-03-06 17:37:14 -0800 |
commit | c15f1d84bb3ddd668593e9bca53221a2f82e9e99 (patch) | |
tree | 96e4bbcab2b9c470b0e3a27e2d8b62f9cb9b254b /net/unix/sysctl_net_unix.c | |
parent | e160dda0f49f54deddd62e943e449a13430c2e8b (diff) |
ARM: OMAP2+: voltage: ensure voltage used is exact voltage from OPP table
When using the SMPS regulators to scale voltages, the regulator
framework may pass a minimum voltage that is not an exact OPP voltage.
For the VC/VP controlled voltage domains, we must ensure that the
voltage requested is the exact voltage from the OPP table. This is
especially critical when using SR.
To fix, voltdm_scale() uses the target voltage passed to walk through
the OPP voltages until it finds a voltage that is >= one of the OPP
voltages.
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions