WSL2-Linux-Kernel/drivers/mtd/nand
Yang Yingliang eca851572d mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe()
[ Upstream commit 1f3b494d1f ]

The 'chip_np' returned by of_get_next_child() with refcount decremented,
of_node_put() need be called in error path to decrease the refcount.

Fixes: bfc618fcc3 ("mtd: rawnand: intel: Read the chip-select line from the correct OF node")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220924131010.957117-1-yangyingliang@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-03 23:59:15 +09:00
..
onenand mtd: onenand: Check for error irq 2022-04-08 14:23:25 +02:00
raw mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe() 2022-11-03 23:59:15 +09:00
spi mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG 2022-06-09 10:22:45 +02:00
Kconfig
Makefile
bbt.c
core.c
ecc-sw-bch.c
ecc-sw-hamming.c
ecc.c