Skip to content
Commit a99a37f6 authored by Paul Cercueil's avatar Paul Cercueil Committed by Bjorn Andersson
Browse files

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: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200515104340.10473-3-paul@crapouillou.net
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 4e399b3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment