aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorYongzhi Liu <[email protected]>2022-01-23 23:20:35 -0800
committerRobert Foss <[email protected]>2022-01-31 16:25:39 +0100
commit46f47807738441e354873546dde0b000106c068a (patch)
treeb06d85667f8dc2c9f83f4a83b72bc80295cee53d /tools/perf/scripts/python/sctop.py
parent9d6bf794084d9258dadf2754d911fcfeb13ea8fc (diff)
drm/bridge: Add missing pm_runtime_put_sync
pm_runtime_get_sync() will increase the rumtime PM counter even when it returns an error. Thus a pairing decrement is needed to prevent refcount leak. Fix this by replacing this API with pm_runtime_resume_and_get(), which will not change the runtime PM counter on error. Besides, a matching decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Yongzhi Liu <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions