regulator: ab8500: Add missing volt_table setting for AB8540_LDO_TVOUT
authorAxel Lin <axel.lin@ingics.com>
Tue, 2 Apr 2013 12:24:23 +0000 (13:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 17:40:29 +0000 (18:40 +0100)
This is required for regulator_list_voltage_table() to properly work.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c

index d851c84bfa8ca5f96814c05554e0901a034c4093..a8552a582ae7f7cbd739753d19dd13c45c8da4c9 100644 (file)
@@ -1662,6 +1662,7 @@ static struct ab8500_regulator_info
                        .id             = AB8540_LDO_TVOUT,
                        .owner          = THIS_MODULE,
                        .n_voltages     = 1,
+                       .volt_table     = fixed_2000000_voltage,
                        .enable_time    = 10000,
                },
                .load_lp_uA             = 1000,