]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
opp: core: Revert "add regulators enable and disable"
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 17 Oct 2019 10:27:58 +0000 (12:27 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 21 Oct 2019 02:28:12 +0000 (07:58 +0530)
commit24957db1004353346583c9cc6d783db8f213e3ad
treec576ccf5b89f60d5eb625c91db12a63eac66916e
parentf2edbb6699b0bc6e4f789846b99007200546c6c2
opp: core: Revert "add regulators enable and disable"

All the drivers, which use the OPP framework control regulators, which
are already enabled. Typically those regulators are also system critical,
due to providing power to CPU core or system buses. It turned out that
there are cases, where calling regulator_enable() on such boot-enabled
regulator has side-effects and might change its initial voltage due to
performing initial voltage balancing without all restrictions from the
consumers. Until this issue becomes finally solved in regulator core,
avoid calling regulator_enable()/disable() from the OPP framework.

This reverts commit 7f93ff73f7c8c8bfa6be33bcc16470b0b44682aa.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c