regulator: Fix restoring pmic.dcdcx_hib_mode settings in wm8350_dcdc_set_suspend_enable
authorAxel Lin <axel.lin@gmail.com>
Thu, 22 Mar 2012 22:25:05 +0000 (06:25 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 26 Mar 2012 17:35:35 +0000 (18:35 +0100)
commiteb4168158f79237498e4d3ddcef6e9436db15a4a
tree2eb95ae05bc283290bd87ca52df9f914613a8227
parent5777d9b34aec841429ddade56403b3f53a821a1d
regulator: Fix restoring pmic.dcdcx_hib_mode settings in wm8350_dcdc_set_suspend_enable

What we want is to restore wm8350->pmic.dcdcx_hib_mode settings to
WM8350_DCDCx_LOW_POWER registers. Current code also clears all other
bits of WM8350_DCDCx_LOW_POWER registers which is wrong.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/wm8350-regulator.c