]> Pileus Git - ~andy/linux/commit
regulator: tps65023: Fix mask for LDOs output voltage select control
authorAxel Lin <axel.lin@gmail.com>
Thu, 14 Jun 2012 05:55:25 +0000 (13:55 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 17 Jun 2012 19:56:54 +0000 (20:56 +0100)
commit6b57c0155cb78d15b0d93b2c7f66ad9536862476
treea4a3906fd018c64ba91b711714ae8abbfc3aa711
parentea851f4f08eb366e829abb8f1b2f1741a19ed696
regulator: tps65023: Fix mask for LDOs output voltage select control

According to the datasheet:
The LDO_CTRL registers are used to set the output voltage of LDO1 and LDO2.
LDO_CTRL[7] and LDO_CTRL[3] are reserved and should always be written to 0.

Thus the mask for TPS65023_LDO_1 and TPS65023_LDO_2 should be 0x07 and 0x70
respectively.

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