diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-09-24 21:10:10 +0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-10-18 10:28:15 +0200 |
commit | 1f3b494d1fc18ebb37aaa47107e9b84bf5b54ff7 (patch) | |
tree | ad5c0443a15212742de219090068e326f465235d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 12b58961de0bd88b3c7dfa5d21f6d67f4678b780 (diff) |
mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe()
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@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
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions