diff options
author | Kamil Konieczny | 2019-07-19 17:05:32 +0200 |
---|---|---|
committer | Viresh Kumar | 2020-05-29 10:15:12 +0530 |
commit | 8d45719caaf56c859be0172447f8559c0df40f93 (patch) | |
tree | 6da388dcfeaf0feba91978efddd0d4027ea1e11e /crypto/cipher.c | |
parent | b23dfa3543f31fbb8c0098925bf90fc23193d17a (diff) |
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.
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Clément Péron <peron.clem@gmail.com>
Tested-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Kamil Konieczny <k.konieczny@samsung.com>
[ Viresh: Enable the regulator only after it is programmed and add a
flag to track its status. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions