2012-08-06 15:11:56

by Linus Walleij

[permalink] [raw]
Subject: [PATCH] regulator: ab3100: add missing voltage table

From: Linus Walleij <[email protected]>

The conversion to voltage tables in

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

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

Cc: Axel Lin <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
---
drivers/regulator/ab3100.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c
index 182b553..c151fd5 100644
--- a/drivers/regulator/ab3100.c
+++ b/drivers/regulator/ab3100.c
@@ -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,
--
1.7.11.3


2012-08-06 15:19:35

by Axel Lin

[permalink] [raw]
Subject: Re: [PATCH] regulator: ab3100: add missing voltage table

2012/8/6 Linus Walleij <[email protected]>:
> From: Linus Walleij <[email protected]>
>
> The conversion to voltage tables in
>
> commit a3beb74261f26142019847128b2441b0301797ac
> "regulator: ab3100: Use regulator_list_voltage_table()"
>
> missed to add the voltage table to the buck. Fix this and
> it works like a charm.
>
> Cc: Axel Lin <[email protected]>
> Signed-off-by: Linus Walleij <[email protected]>

Acked-by: Axel Lin <[email protected]>

2012-08-07 17:11:41

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regulator: ab3100: add missing voltage table

On Mon, Aug 06, 2012 at 05:11:40PM +0200, Linus Walleij wrote:
> From: Linus Walleij <[email protected]>
>
> The conversion to voltage tables in

Applied, thanks.