diff options
author | Miaoqian Lin <[email protected]> | 2022-06-07 15:08:38 +0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2022-06-18 09:14:05 -0700 |
commit | b9cc4598607cb7f7eae5c75fc1e3209cd52ff5e0 (patch) | |
tree | d04e023999ecb8f3593d1a411add1241f46c4519 /include/linux/fpga/fpga-mgr.h | |
parent | c8af219d18502c52319df8d4e3dcfe29a3ca31ab (diff) |
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 <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/488473/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions