Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: tps65217: Fix off-by-one for latest seletor of tps65217_uv1_ranges

According to the datasheet the latest seletor 11 1111b = 3.3 V.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
0b5e200c 70b46491

+1 -1
+1 -1
drivers/regulator/tps65217-regulator.c
··· 61 61 REGULATOR_LINEAR_RANGE(1550000, 25, 30, 50000), 62 62 REGULATOR_LINEAR_RANGE(1850000, 31, 52, 50000), 63 63 REGULATOR_LINEAR_RANGE(3000000, 53, 55, 100000), 64 - REGULATOR_LINEAR_RANGE(3300000, 56, 62, 0), 64 + REGULATOR_LINEAR_RANGE(3300000, 56, 63, 0), 65 65 }; 66 66 67 67 static const struct regulator_linear_range tps65217_uv2_ranges[] = {