Commit ab3ca774 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: pfuze100: Support enable/disable for fixed regulator

Current code has .enable_reg and .enable_mask settings, but the implementation
for corresponding callbacks are missing. Fix it.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Tested-by: default avatarRobin Gong <b38343@freescale.com>
Acked-by: default avatarRobin Gong <b38343@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent fe788b09
...@@ -125,6 +125,9 @@ static struct regulator_ops pfuze100_ldo_regulator_ops = { ...@@ -125,6 +125,9 @@ static struct regulator_ops pfuze100_ldo_regulator_ops = {
}; };
static struct regulator_ops pfuze100_fixed_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, .list_voltage = regulator_list_voltage_linear,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment