diff options
author | Liang He <windhl@126.com> | 2022-07-19 10:25:46 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-07-26 08:56:22 +0200 |
commit | 26c2b7d9fac42eb8317f3ceefa4c1a9a9170ca69 (patch) | |
tree | 4376367d3a030a3622b523a2b3fa0dc6b71f3ab1 /drivers/clk | |
parent | video: fbdev: omapfb: Unexport omap*_update_window_async() (diff) | |
download | linux-26c2b7d9fac42eb8317f3ceefa4c1a9a9170ca69.tar.xz linux-26c2b7d9fac42eb8317f3ceefa4c1a9a9170ca69.zip |
video: fbdev: amba-clcd: Fix refcount leak bugs
In clcdfb_of_init_display(), we should call of_node_put() for the
references returned by of_graph_get_next_endpoint() and
of_graph_get_remote_port_parent() which have increased the refcount.
Besides, we should call of_node_put() both in fail path or when
the references are not used anymore.
Fixes: d10715be03bd ("video: ARM CLCD: Add DT support")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions