summaryrefslogtreecommitdiff
path: root/drivers/regulator/fixed.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-11 12:36:37 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-11 12:44:23 (GMT)
commit8a23b4e03d6873ec50f7d212de78ff01e393fc1a (patch)
tree4cedde456bb56b1745eebdc2ebfa68b39cc1c998 /drivers/regulator/fixed.c
parentb17fc86cc5e8fbfd1d18765f6463d1989c59f9c6 (diff)
downloadlinux-8a23b4e03d6873ec50f7d212de78ff01e393fc1a.tar.xz
regulator: core: Fix logic to determinate if regulator can change voltage
Having a linear_min_sel setting means the first linear_min_sel selectors are invalid. We need to subtract linear_min_sel when use n_voltages to determinate if regulator can change voltage. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/fixed.c')
0 files changed, 0 insertions, 0 deletions