]> 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)
commit65c4738ed8aa544bd1f068d3ea5dec8c45e40cdf
tree607295609476befaa050114e695b912e8b651ac5
parent46e9e5cfc2faf5092a0d6a6e8631caa7353afc07
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