linux/drivers/regulator
Axel Lin 0cb2f1239d regulator: twl-regulator: Fix off-by-one vsel setting in twl6030smps_set_voltage
commit 268a1 "regulator: twl-regulator: Use DIV_ROUND_UP at appropriate places"
introduced an off-by-one bug for setting vsel.

The linear calculation code in twl6030smps_list_voltage() does subtract index
by 1 so we need the vsel++ after DIV_ROUND_UP.

The original code use this trick to differentiate if we are going to set the
voltage to 0 or the voltage falls within the linear calculation range.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-10 17:28:52 +01:00
..
88pm8607.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
aat2870-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
ab3100.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
ab8500.c regulator: Fix build of ab8500 2012-04-10 09:36:34 +01:00
ad5398.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
anatop-regulator.c regulator: anatop: patching to device-tree property "reg". 2012-03-28 11:52:10 +01:00
core.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
da903x.c regulator: Fix a typo in da903x.c 2012-04-10 09:52:53 +01:00
da9052-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
db8500-prcmu.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
dbx500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dbx500-prcmu.h regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dummy.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed-helper.c regulator: Remove non-existent parameter from fixed-helper.c kernel doc 2012-03-31 19:41:20 +01:00
fixed.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
gpio-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
isl6271a-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
Kconfig regulator: Add support for RICOH PMIC RC5T583 regulator 2012-04-04 11:48:02 +01:00
lp3971.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
lp3972.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
Makefile regulator: Add support for RICOH PMIC RC5T583 regulator 2012-04-04 11:48:02 +01:00
max1586.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
max8649.c regulator: max8649: Use devm_* APIs 2012-04-10 11:04:26 +01:00
max8660.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
max8925-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
max8952.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
max8997.c regulator: max8997: Use simple equation to get selector 2012-04-10 10:14:01 +01:00
max8998.c regulator: max8998: Use simple equation to get selector 2012-04-10 10:14:01 +01:00
mc13xxx-regulator-core.c regulator: Convert mc13xxx regulator drivers to set_voltage_sel 2012-04-02 23:24:46 +01:00
mc13xxx.h regulator: Convert mc13xxx regulator drivers to set_voltage_sel 2012-04-02 23:24:46 +01:00
mc13783-regulator.c regulator: Fix build error for mc13783 and mc13892 2012-04-10 09:52:53 +01:00
mc13892-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
of_regulator.c regulator: Set apply_uV only when min and max voltages are defined 2012-01-26 11:01:21 +00:00
pcap-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
pcf50633-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
rc5t583-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
s5m8767.c regulator: Replace regulator_desc_[ldo|buck] by s5m8767_regulator_desc macro 2012-04-10 09:53:49 +01:00
tps6105x-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps6507x-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps6524x-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps6586x-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
tps62360-regulator.c regulator: tps62360: Convert to devm_regmap_init_i2c() 2012-04-10 11:04:27 +01:00
tps65023-regulator.c regulator: tps65023: Use devm_* APIs 2012-04-10 11:04:27 +01:00
tps65090-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps65217-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps65910-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps65912-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
twl-regulator.c regulator: twl-regulator: Fix off-by-one vsel setting in twl6030smps_set_voltage 2012-04-10 17:28:52 +01:00
userspace-consumer.c regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver() 2011-11-28 11:49:13 +00:00
virtual.c regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver() 2011-11-28 11:49:13 +00:00
wm831x-dcdc.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm831x-isink.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm831x-ldo.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm8350-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm8400-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
wm8994-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00