Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03e35f21 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "regulator: Enable supply regulator if child rail is enabled.""

parents 419e716f cce20202
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -4073,13 +4073,6 @@ regulator_register(const struct regulator_desc *regulator_desc,
		ret = set_supply(rdev, r);
		if (ret < 0)
			goto scrub;

		/* Enable supply if rail is enabled */
		if (_regulator_is_enabled(rdev)) {
			ret = regulator_enable(rdev->supply);
			if (ret < 0)
				goto scrub;
		}
	}

add_dev: