OSDN Git Service

remoteproc: core: Prevent system suspend during remoteproc recovery
authorRishabh Bhatnagar <rishabhb@codeaurora.org>
Wed, 29 Apr 2020 18:04:42 +0000 (11:04 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 May 2020 19:11:41 +0000 (12:11 -0700)
commita781e5aa59110d002a56bd41a397c0c8892f0609
treef078c2f3773148522abe383a98aa1098f7517278
parent9666174a4e1a7b1e32c214312678f8452275da6a
remoteproc: core: Prevent system suspend during remoteproc recovery

The system might go into suspend during recovery of any remoteproc.
This will interrupt the recovery process in between increasing the
recovery time. Make the platform device as wakeup capable and
use pm_stay_wake/pm_relax APIs to avoid system from going into
suspend during recovery.

Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/1588183482-21146-1-git-send-email-rishabhb@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_pas.c
drivers/remoteproc/remoteproc_core.c