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)
commit4adf9beda58364497889c06c1badf129a71d48be
tree607295609476befaa050114e695b912e8b651ac5
parent192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d
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