remoteproc: qcom: pas: Mark devices as wakeup capable
authorSiddharth Gupta <sidgup@codeaurora.org>
Tue, 5 Jul 2022 12:08:16 +0000 (17:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:34 +0000 (15:32 -0500)
commitdc86c129b4fb5c387b0678cfb6081ef29809cc41
treecf256ecff1d6fc4db1280c6de48a7bd8cc417ebe
parent5ddf5969e9272b01932366202a711dd5f51b4aea
remoteproc: qcom: pas: Mark devices as wakeup capable

device_wakeup_enable() on its own is not capable of setting
device as wakeup capable, it needs to be used in conjunction
with device_set_wakeup_capable(). The device_init_wakeup()
calls both these functions on the device passed.

Fixes: a781e5aa5911 ("remoteproc: core: Prevent system suspend during remoteproc recovery")
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1657022900-2049-4-git-send-email-quic_sibis@quicinc.com
drivers/remoteproc/qcom_q6v5_pas.c