]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Fix mask parameter in da9052_reg_update calls
authorAxel Lin <axel.lin@gmail.com>
Fri, 2 Mar 2012 10:07:21 +0000 (18:07 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Mar 2012 12:28:58 +0000 (12:28 +0000)
commita66a4cb2bcf3de211da27e06e6a28bd7f23fc32a
tree607295609476befaa050114e695b912e8b651ac5
parent5a0c144ceec08b972015ae634e374af46dea095d
regulator: Fix mask parameter in da9052_reg_update calls

If the mask parameter is 0, info->activate_bit bit won't be set by
calling da9052_reg_update.

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