regulator: palmas: Clear PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK bits in palmas_set_mode_smps
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Jun 2012 09:08:21 +0000 (17:08 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jun 2012 23:30:04 +0000 (07:30 +0800)
commit999f0c7cb8e7c378bd1f3fcd56cf8dc5a30c83e4
tree3e9f4c196441a8e8860295e3a811f299af19450d
parent1acb645ebfe3a008e3c3350918d7d29974b1eaec
regulator: palmas: Clear PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK bits in palmas_set_mode_smps

Current code actually clears more bits than PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK bits.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/palmas-regulator.c