diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-02 17:35:34 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-12-10 22:23:14 +0300 |
commit | aa37448f597c09844942da87d042fc6793f989c2 (patch) | |
tree | f509581ac897638f1e1eeb170380241b931f2550 /arch/nios2 | |
parent | a24723050037303e4008b37f1f8dcc99c58901aa (diff) | |
download | linux-aa37448f597c09844942da87d042fc6793f989c2.tar.xz |
remoteproc: qcom: fix reference leak in adsp_start
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in adsp_start, so we should fix it.
Fixes: dc160e4491222 ("remoteproc: qcom: Introduce Non-PAS ADSP PIL driver")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201102143534.144484-1-zhangqilong3@huawei.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions