remoteproc: qcom: using pm_runtime_resume_and_get to simplify the code
authorran jianping <ran.jianping@zte.com.cn>
Thu, 28 Apr 2022 06:45:45 +0000 (06:45 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:33 +0000 (15:32 -0500)
commit8672e79d98bc702084f65ef6d118333bd73f09a2
treec3daf0d0d0948e0648ce1d6d22253900e60188b5
parent42c2b553da64e050c3bd6264f0ffe12f634808a8
remoteproc: qcom: using pm_runtime_resume_and_get to simplify the code

Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. This change is just to simplify the code, no
actual functional changes.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220428064545.3850057-1-ran.jianping@zte.com.cn
drivers/remoteproc/qcom_q6v5_adsp.c