summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mga
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-06-07 15:08:38 +0400
committerRob Clark <robdclark@chromium.org>2022-06-18 09:14:05 -0700
commitb9cc4598607cb7f7eae5c75fc1e3209cd52ff5e0 (patch)
treed04e023999ecb8f3593d1a411add1241f46c4519 /drivers/gpu/drm/mga
parentc8af219d18502c52319df8d4e3dcfe29a3ca31ab (diff)
downloadlinux-b9cc4598607cb7f7eae5c75fc1e3209cd52ff5e0.tar.bz2
drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
of_graph_get_remote_node() returns remote device node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: 86418f90a4c1 ("drm: convert drivers to use of_graph_get_remote_node") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/488473/ Link: https://lore.kernel.org/r/20220607110841.53889-1-linmq006@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/mga')
0 files changed, 0 insertions, 0 deletions