diff --git a/hif/src/hif_runtime_pm.c b/hif/src/hif_runtime_pm.c index e22f44ff2079..061558aca878 100644 --- a/hif/src/hif_runtime_pm.c +++ b/hif/src/hif_runtime_pm.c @@ -1217,7 +1217,7 @@ int hif_pm_runtime_get(struct hif_opaque_softc *hif_ctx, if (ret > 0) ret = 0; - if (ret) + if (ret < 0) hif_pm_runtime_put(hif_ctx, rtpm_dbgid); if (ret && ret != -EINPROGRESS) {