2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

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: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Bjorn Andersson 2015-04-06 16:33:57 -07:00 committed by Mark Brown
parent 2b85c28a5a
commit 4d1e4d629a

View File

@ -732,10 +732,6 @@ static int rpm_reg_probe(struct platform_device *pdev)
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";
if (of_property_read_bool(pdev->dev.of_node, key)) {
ret = rpm_reg_set(vreg, &vreg->parts->pd, 1);