lp3971: Fix setting val for LDO2 and LDO4
authorAxel Lin <axel.lin@gmail.com>
Tue, 9 Mar 2010 08:53:59 +0000 (16:53 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 22 Mar 2010 19:44:44 +0000 (19:44 +0000)
commitcdb868f58103825856e27aa4e1f26943fc119e41
treed4549701910096830bffa366436c54f40877fbba
parent4f26a2abe1eed18dc6adddf2d0ae5553e51578c2
lp3971: Fix setting val for LDO2 and LDO4

In lp3971_ldo_set_voltage function, it requires val to left shift 4
bits for LDO2 and LDO4.
This patch fix this issue.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/lp3971.c