diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-05-15 12:43:38 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-05-18 16:53:27 -0700 |
commit | a99a37f6cd5a74d5b22c08544aa6c5890813c8ba (patch) | |
tree | 734181e417fa4bab1d3df73936a7e0979effaf78 /init/do_mounts_initrd.c | |
parent | 4e399b3ba8b937aaa49df836117ce4dc39bf3fcd (diff) | |
download | linux-a99a37f6cd5a74d5b22c08544aa6c5890813c8ba.tar.bz2 |
remoteproc: Add support for runtime PM
Call pm_runtime_get_sync() before the firmware is loaded, and
pm_runtime_put() after the remote processor has been stopped.
Even though the remoteproc device has no PM callbacks, this allows the
parent device's PM callbacks to be properly called.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200515104340.10473-3-paul@crapouillou.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions