]> 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)
commit3db545db2df5a35be565e8b2f9d9445a07a959c7
tree54780f1971f05b293d4c398e36a1c091b5513c48
parent98c4b96659c0442c8f48abcba5a5402c66f9a851
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