]> git.baikalelectronics.ru Git - kernel.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)
commit78e80718b5fedcf397044c1b4ee26519c9eef2fe
treec576ccf5b89f60d5eb625c91db12a63eac66916e
parentde0cbd639b978d37539e1441545ea00585a1ab9b
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 3db545db2df5a35be565e8b2f9d9445a07a959c7.

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