summaryrefslogtreecommitdiff
path: root/drivers/regulator/max1586.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-03-11 04:50:07 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-03-22 22:44:45 +0300
commit451a73cd46573444f68f412c87439c0a291718ec (patch)
tree3cf24100680cdcfad0fc7cf5b0dd0320f2092e3d /drivers/regulator/max1586.c
parentcdb868f58103825856e27aa4e1f26943fc119e41 (diff)
downloadlinux-451a73cd46573444f68f412c87439c0a291718ec.tar.xz
lp3971: Fix BUCK_VOL_CHANGE_SHIFT logic
Given x=0,1,2, current implementation of BUCK_VOL_CHANGE_SHIFT(x) returns 0,4,8. The correct return value should be 0,4,6. This patch fix the logic. 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>
Diffstat (limited to 'drivers/regulator/max1586.c')
0 files changed, 0 insertions, 0 deletions