Commit 4d1e4d62 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Mark Brown

regulator: qcom: Don't enable DRMS in driver

The driver itself should not flag regulators as being DRMS compatible,
this should come from board or dt files.
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2b85c28a
...@@ -732,10 +732,6 @@ static int rpm_reg_probe(struct platform_device *pdev) ...@@ -732,10 +732,6 @@ static int rpm_reg_probe(struct platform_device *pdev)
return -EINVAL; return -EINVAL;
} }
/* Regulators with ia property suppports drms */
if (vreg->parts->ia.mask)
initdata->constraints.valid_ops_mask |= REGULATOR_CHANGE_DRMS;
key = "bias-pull-down"; key = "bias-pull-down";
if (of_property_read_bool(pdev->dev.of_node, key)) { if (of_property_read_bool(pdev->dev.of_node, key)) {
ret = rpm_reg_set(vreg, &vreg->parts->pd, 1); ret = rpm_reg_set(vreg, &vreg->parts->pd, 1);
......
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