[PATCH -next] mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe()
Miquel Raynal
miquel.raynal at bootlin.com
Tue Oct 18 02:02:57 PDT 2022
On Sat, 2022-09-24 at 13:10:10 UTC, Yang Yingliang wrote:
> 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: bfc618fcc3f1 ("mtd: rawnand: intel: Read the chip-select line from the correct OF node")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
> Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
Miquel
More information about the linux-mtd
mailing list