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 6205c373
-
mentioned in commit abe9e11e
-
mentioned in commit 57ffa73b
-
mentioned in commit 4e5de5bd
-
mentioned in commit cb4b3425
-
mentioned in commit 21b38d85
-
mentioned in commit 67f386f7
-
mentioned in commit ede393e1
-
mentioned in commit 5a2e61dc
-
mentioned in commit cb06375a
-
mentioned in commit 6f5d6d6d
-
mentioned in commit a3e656f3
-
mentioned in commit 1384d7e3
-
mentioned in commit d3f73f04
Please sign in to comment