]> 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)
commit3b13634df50a7bbe922e80a79ed66f733af59708
treecb030e790c715bba2505f2a8febd8b04980a8e93
parentcfdf7d37a37be138e51f206dfd0100bbfc9cd3c1
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