drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
This helper has been introduced to avoid programmer errors (missing _put calls leading to dangling refcnt) when using pm_runtime_get, use it. While at it, start checking the return value. Signed-off-by:Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Fixes: 5c829028 ("drm/msm/dsi: Split PHY drivers to separate files") Patchwork: https://patchwork.freedesktop.org/patch/543350/ Link: https://lore.kernel.org/r/20230620-topic-dsiphy_rpm-v2-1-a11a751f34f0@linaro.org Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Loading
-
mentioned in commit 8c0cdaa3
-
mentioned in commit 72a73bdf
-
mentioned in commit 53278f5c
-
mentioned in commit 6233c7d4
-
mentioned in commit 7c1ed73b
-
mentioned in commit a0636784
-
mentioned in commit 47bb587f
-
mentioned in commit 1d1597f7
-
mentioned in commit f725fdf6
-
mentioned in commit d80e2078
Please register or sign in to comment