linux-yocto/drivers/mtd/hyperbus
Joe Hattori c538df69c3 mtd: hyperbus: hbmc-am654: fix an OF node reference leak
[ Upstream commit bf5821909e ]

In am654_hbmc_platform_driver, .remove() and the error path of .probe()
do not decrement the refcount of an OF node obtained by
  of_get_next_child(). Fix this by adding of_node_put() calls.

Fixes: aca31ce968 ("mtd: hyperbus: hbmc-am654: Fix direct mapping setup flash access")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-08 09:57:54 +01:00
..
hbmc-am654.c mtd: hyperbus: hbmc-am654: fix an OF node reference leak 2025-02-08 09:57:54 +01:00
hyperbus-core.c
Kconfig
Makefile
rpc-if.c