Skip to content

Commit

Permalink
regulator: ab3100: add missing voltage table
Browse files Browse the repository at this point in the history
The conversion to voltage tables in

commit a3beb74
"regulator: ab3100: Use regulator_list_voltage_table()"

missed to add the voltage table to the buck. Fix this and
it works like a charm.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Linus Walleij authored and Mark Brown committed Aug 7, 2012
1 parent 3e2a928 commit cfa9cfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/ab3100.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = {
.id = AB3100_BUCK,
.ops = &regulator_ops_variable_sleepable,
.n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages),
.volt_table = ldo_e_buck_typ_voltages,
.type = REGULATOR_VOLTAGE,
.owner = THIS_MODULE,
.enable_time = 1000,
Expand Down

0 comments on commit cfa9cfb

Please sign in to comment.