OMAP: VP: Explicitly mask VPVOLTAGE field
authorTodd Poynor <toddpoynor@google.com>
Sat, 28 May 2011 02:15:59 +0000 (19:15 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 19:09:08 +0000 (12:09 -0700)
commitbea30ed65fb2432097f362ce17042e22febcb616
treeb4bb15f0099e1d7e0fbe7ef5920491f6f388f5bd
parent0f01565a353e06f1f1d7757b212c51e61c6fea58
OMAP: VP: Explicitly mask VPVOLTAGE field

Reading the VPVOLTAGE field of PRM_VP_*_VOLTAGE registers currently
relies on a u32 -> u8 conversion to mask off the FORCEUPDATEWAIT field
in the upper bits.  Make this explicit using the mask symbol
already defined, added as a new field in struct omap_vp_common.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/vp.c
arch/arm/mach-omap2/vp.h
arch/arm/mach-omap2/vp3xxx_data.c
arch/arm/mach-omap2/vp44xx_data.c