]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: display: Fix refcount leak bug
authorLiang He <windhl@126.com>
Fri, 17 Jun 2022 14:58:03 +0000 (22:58 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Jun 2022 04:39:52 +0000 (07:39 +0300)
commit10b0e785270613bfa3571d815843fe4a8be3ab26
treecb030e790c715bba2505f2a8febd8b04980a8e93
parent03e2b8e2ec0e5ef1034855f7654aa515bd80fcbd
ARM: OMAP2+: display: Fix refcount leak bug

In omapdss_init_fbdev(), of_find_node_by_name() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.

Signed-off-by: Liang He <windhl@126.com>
Message-Id: <20220617145803.4050918-1-windhl@126.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/display.c