pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by moving the error_pm label above the pm_runtime_put() in
the error path.
Applied, thanks
--
~Vinod
Thread (2 messages)
2 messages,
2 authors,
last reply 2021-07-14