[RFT][PATCH 2/2] regulator: ab8500: Add missing volt_table settingfor AB8540_LDO_TVOUT

From: Axel Lin
Date: Tue Apr 02 2013 - 02:34:40 EST


This is required for regulator_list_voltage_table() to properly work.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
---
Hi,
The setting is copied from AB8500_LDO_TVOUT, I don't have the datasheet.
Can someone test and review if this patch is correct or not?

Axel
drivers/regulator/ab8500.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
index 5fd764e..44602c5 100644
--- a/drivers/regulator/ab8500.c
+++ b/drivers/regulator/ab8500.c
@@ -1303,6 +1303,7 @@ static struct ab8500_regulator_info
.id = AB8500_LDO_TVOUT,
.owner = THIS_MODULE,
.n_voltages = 1,
+ .volt_table = fixed_2000000_voltage,
},
.load_lp_uA = 1000,
.update_bank = 0x03,
--
1.7.10.4



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/