diff options
author | 2022-05-11 09:40:51 +0400 | |
---|---|---|
committer | 2022-05-18 09:09:23 +0200 | |
commit | 7381076809586528e2a812a709e2758916318a99 (patch) | |
tree | bacd70c4264c7af7ce7cebf0d329cba463dfd863 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/udl: Set VGA connector (diff) | |
download | linux-dev-7381076809586528e2a812a709e2758916318a99.tar.xz linux-dev-7381076809586528e2a812a709e2758916318a99.zip |
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 <linmq006@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220511054052.51981-1-linmq006@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions