]> git.baikalelectronics.ru Git - kernel.git/commit
opp: core: add regulators enable and disable
authork.konieczny@partner.samsung.com <k.konieczny@partner.samsung.com>
Fri, 19 Jul 2019 15:05:32 +0000 (17:05 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 26 Jul 2019 07:55:52 +0000 (13:25 +0530)
commit62fe0f7c59a4af5e06c3af1c4ce797ca47094b9c
tree54780f1971f05b293d4c398e36a1c091b5513c48
parent4e3b4cd3d93472946e80697f42b1628a890e0a9f
opp: core: add regulators enable and disable

Add enable regulators to dev_pm_opp_set_regulators() and disable
regulators to dev_pm_opp_put_regulators(). Even if bootloader
leaves regulators enabled, they should be enabled in kernel in
order to increase the reference count.

Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c