]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: twl: Fix a typo in twl4030_send_pb_msg
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Wed, 6 Apr 2016 06:06:03 +0000 (09:06 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2016 17:10:50 +0000 (10:10 -0700)
commitbd7aa6abe84f60f1a061b9e894eba1fb0030c155
tree7f5491346c6475628ec9b56218b044e3b98b664c
parent6ffe5db24ae989495f51293996a7e4894a32e012
regulator: twl: Fix a typo in twl4030_send_pb_msg

Commit <2b0acbe1cff7c576384522491e1690af34e97ea3> ("regulator: twl: Make
sure we have access to powerbus before trying to write to it")
has implemented the needed logic to correctly access powerbus through i2c,
however it brought a typo when powerbus configuration is restored, which
results in writing to a wrong register. Fix that by providing the correct
register value.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/twl-regulator.c