diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-10-02 14:49:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-03 17:49:34 +0200 |
commit | 5e965704803dcbcbfbf97e8a976b3778b245834b (patch) | |
tree | 24fe94a8b276f1a9f87314c0ad0ef04c64d242c6 /drivers/regulator/max1586.c | |
parent | regulator: as3722: Fix equation to calculate max_uV in regulator_lin_range macro (diff) | |
download | linux-5e965704803dcbcbfbf97e8a976b3778b245834b.tar.xz linux-5e965704803dcbcbfbf97e8a976b3778b245834b.zip |
regulator: as3722: Fix off-by-one n_voltages setting for SDx
AS3722_SDx_VSEL_MAX means the maximum selecter, the n_voltages should be
AS3722_SDx_VSEL_MAX + 1.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/max1586.c')
0 files changed, 0 insertions, 0 deletions