]> asedeno.scripts.mit.edu Git - linux.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)
commit7f93ff73f7c8c8bfa6be33bcc16470b0b44682aa
tree54780f1971f05b293d4c398e36a1c091b5513c48
parent11e1a1648298656722fe206a53e555e2e98668ae
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