Skip to content

Commit a4d6846

Browse files
Lee Jonesbroonie
authored andcommitted
regulator: ab8500: Set enable enable_time in regulator_desc
Allow the regulator framework to directly access the time it takes any given regulator to settle. This saves time and code because without it we would have to implement a dedication function to read the value from elsewhere. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 684d5ce commit a4d6846

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/regulator/ab8500.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,7 @@ static struct ab8500_regulator_info
11061106
.owner = THIS_MODULE,
11071107
.n_voltages = 1,
11081108
.volt_table = fixed_2000000_voltage,
1109+
.enable_time = 10000,
11091110
},
11101111
.delay = 10000,
11111112
.load_lp_uA = 1000,
@@ -1371,6 +1372,7 @@ static struct ab8500_regulator_info
13711372
.owner = THIS_MODULE,
13721373
.n_voltages = 1,
13731374
.volt_table = fixed_2000000_voltage,
1375+
.enable_time = 10000,
13741376
},
13751377
.delay = 10000,
13761378
.load_lp_uA = 1000,
@@ -1668,6 +1670,7 @@ static struct ab8500_regulator_info
16681670
.id = AB8540_LDO_TVOUT,
16691671
.owner = THIS_MODULE,
16701672
.n_voltages = 1,
1673+
.enable_time = 10000,
16711674
},
16721675
.delay = 10000,
16731676
.load_lp_uA = 1000,

0 commit comments

Comments
 (0)