commit | 5e965704803dcbcbfbf97e8a976b3778b245834b | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Oct 02 20:49:29 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Oct 03 16:49:34 2013 +0100 |
tree | 24fe94a8b276f1a9f87314c0ad0ef04c64d242c6 | |
parent | 43f6fc9542d6c42cc2e5783536ed31d90516c999 [diff] |
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>