[PATCH pm_wip/voltdm_nm] OMAP: VP: Explicitly mask VPVOLTAGE field

2011-05-27 Thread Todd Poynor
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 --- V

Re: [PATCH pm_wip/voltdm_nm] OMAP: VP: Explicitly mask VPVOLTAGE field

2011-06-02 Thread Kevin Hilman
Todd Poynor writes: > 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. > > S