projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe788b0
)
regulator: pfuze100: Support enable/disable for fixed regulator
author
Axel Lin
<
[email protected]
>
Mon, 26 May 2014 09:56:13 +0000
(17:56 +0800)
committer
Mark Brown
<
[email protected]
>
Tue, 27 May 2014 11:25:57 +0000
(12:25 +0100)
Current code has .enable_reg and .enable_mask settings, but the implementation
for corresponding callbacks are missing. Fix it.
Signed-off-by: Axel Lin <
[email protected]
>
Tested-by: Robin Gong <
[email protected]
>
Acked-by: Robin Gong <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/pfuze100-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/pfuze100-regulator.c
b/drivers/regulator/pfuze100-regulator.c
index 930eb137427d6ff9dd6e6cd41c9327a75104ffe6..c879dff597eeaba773468b66a71526a9ca1fb5e8 100644
(file)
--- a/
drivers/regulator/pfuze100-regulator.c
+++ b/
drivers/regulator/pfuze100-regulator.c
@@
-125,6
+125,9
@@
static struct regulator_ops pfuze100_ldo_regulator_ops = {
};
static struct regulator_ops pfuze100_fixed_regulator_ops = {
+ .enable = regulator_enable_regmap,
+ .disable = regulator_disable_regmap,
+ .is_enabled = regulator_is_enabled_regmap,
.list_voltage = regulator_list_voltage_linear,
};