Skip to content
Commit 5e965704 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 43f6fc95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment