diff options
| author | Christophe JAILLET <[email protected]> | 2025-07-30 19:47:46 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2025-08-28 12:23:05 +0000 |
| commit | 1eae113dd5ff5192cfd3e11b6ab7b96193b42c01 (patch) | |
| tree | 80e50d25d4e9964227fca9b78ddbda4c2d2c1752 /drivers/fpga/tests/fpga-region-test.c | |
| parent | mtd: MTD_INTEL_DG should depend on DRM_I915 or DRM_XE (diff) | |
| download | kernel-1eae113dd5ff5192cfd3e11b6ab7b96193b42c01.tar.gz kernel-1eae113dd5ff5192cfd3e11b6ab7b96193b42c01.zip | |
mtd: rawnand: nuvoton: Fix an error handling path in ma35_nand_chips_init()
If a ma35_nand_chip_init() call fails, then a reference to 'nand_np' still
needs to be released.
Use for_each_child_of_node_scoped() to fix the issue.
Fixes: 5abb5d414d55 ("mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions
