]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: 88pm800: fix LDO vsel_mask value
authorYi Zhang <yizhang@marvell.com>
Thu, 9 Jul 2015 12:41:31 +0000 (18:11 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jul 2015 19:04:25 +0000 (20:04 +0100)
commit322dfa6402ec08da1ca182ac0061a1cf2c5c3101
tree93e51d65ac08653eb710fbf0535f56eabb38fc18
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
regulator: 88pm800: fix LDO vsel_mask value

As per datasheet,
Except LDO2, all other LDO's use bit [3:0] for VOUT select.

Current code uses wrong mask value of 0x1f, So this patch
fixes it to use 0xf.

Signed-off-by: Yi Zhang <yizhang@marvell.com>
[vaibhav.hiremath@linaro.org: Updated changelog with more detailed description]
Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/88pm800.c