diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-06-20 14:43:20 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-12-03 03:13:18 +0300 |
commit | 3d07a411b4faaf2b498760ccf12888f8de529de0 (patch) | |
tree | a658124f5c20f3a2a5383eda54df27981e11c0ff /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7cc2621f16b644bb7af37987cb471311641a9e56 (diff) | |
download | linux-3d07a411b4faaf2b498760ccf12888f8de529de0.tar.xz |
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: 5c8290284402 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions