OMAP3+: voltage: update nominal voltage in voltdm_scale() not VC post-scale
authorKevin Hilman <khilman@ti.com>
Mon, 18 Jul 2011 23:24:17 +0000 (16:24 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 19:09:22 +0000 (12:09 -0700)
commit6a62b78d9aa6661cae1a7d30b574daf435a14c47
tree4812b637f223c71828a56ddd3261113024459a0e
parentd5c128289f5066a7c6bf27d6ba27a6ae425be757
OMAP3+: voltage: update nominal voltage in voltdm_scale() not VC post-scale

Currently, the nominal voltage is updated in the VC post-scale function
which is common to both scaling methods.  However, this has readabiliy
problems as this update is not where it might be expected.  Instead, move
the updated into voltdm_scale() upon a successful return of voltdm->scale()

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/vc.c
arch/arm/mach-omap2/voltage.c