aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-05-11 09:40:51 +0400
committerNeil Armstrong <[email protected]>2022-05-18 09:09:23 +0200
commit7381076809586528e2a812a709e2758916318a99 (patch)
treebacd70c4264c7af7ce7cebf0d329cba463dfd863 /tools/perf/scripts/python
parent315a8d00ac74c59a688a1a88c0ed97a7791d1c91 (diff)
drm/meson: Fix refcount leak in meson_encoder_hdmi_init
of_find_device_by_node() takes reference, we should use put_device() to release it when not need anymore. Add missing put_device() in error path to avoid refcount leak. Fixes: 0af5e0b41110 ("drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions