WSL2-Linux-Kernel/drivers/mtd/nand/raw
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
..
atmel mtd: rawnand: atmel: Unmap streaming DMA mappings 2022-10-26 12:34:18 +02:00
bcm47xxnflash
brcmnand mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status 2022-02-23 12:03:16 +01:00
gpmi-nand mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times 2022-07-29 17:25:15 +02:00
ingenic mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get 2022-02-23 12:03:16 +01:00
Kconfig mtd: rawnand: Fix a couple of spelling mistakes in Kconfig 2021-07-16 01:07:05 +02:00
Makefile mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller 2021-06-18 09:45:21 +02:00
ams-delta.c mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:18 +01:00
arasan-nand-controller.c mtd: rawnand: arasan: Update NAND bus clock instead of system clock 2022-08-17 14:22:54 +02:00
au1550nd.c mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:19 +01:00
cadence-nand-controller.c mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe() 2022-06-09 10:22:51 +02:00
cafe_nand.c mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()' 2021-08-23 10:58:14 +02:00
cs553x_nand.c mtd: rawnand: cs553x: Fix external use of SW Hamming ECC helper 2021-05-10 18:34:13 +02:00
davinci_nand.c mtd: rawnand: Export nand_read_page_hwecc_oob_first() 2022-01-27 11:02:49 +01:00
denali.c
denali.h
denali_dt.c
denali_pci.c mtd: rawnand: denali: Use managed device resources 2022-06-09 10:22:47 +02:00
diskonchip.c
fsl_elbc_nand.c mtd: rawnand: fsl_elbc: Fix none ECC mode 2022-10-26 12:35:10 +02:00
fsl_ifc_nand.c
fsl_upm.c
fsmc_nand.c mtd: rawnand: fsmc: Fix timing computation 2021-12-14 10:57:18 +01:00
gpio.c mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:18 +01:00
hisi504_nand.c mtd: rawnand: hisi504: Remove redundant dev_err call in probe 2021-05-10 10:34:23 +02:00
intel-nand-controller.c mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe() 2022-11-03 23:59:15 +09:00
internals.h mtd: rawnand: Choose the best timings, NV-DDR included 2021-05-26 10:52:43 +02:00
lpc32xx_mlc.c
lpc32xx_slc.c mtd: rawnand: lpc32xx_slc: Fix external use of SW Hamming ECC helper 2021-05-10 18:34:29 +02:00
marvell_nand.c mtd: rawnand: marvell: Use correct logic for nand-keep-config 2022-11-03 23:59:11 +09:00
meson_nand.c mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct() 2022-10-26 12:35:12 +02:00
mpc5121_nfc.c mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip() 2022-02-01 17:27:16 +01:00
mtk_ecc.c mtd: rawnand: fix ecc parameters for mt7622 2022-05-09 09:14:32 +02:00
mtk_ecc.h
mtk_nand.c mtd: rawnand: mtk: Fix WAITRDY break condition and timeout 2021-03-11 12:23:11 +01:00
mxc_nand.c mtd: rawnand: mxc: Remove unneeded of_match_ptr() 2021-03-28 19:13:39 +02:00
mxic_nand.c
nand_amd.c
nand_base.c mtd: rawnand: protect access to rawnand devices while in suspend 2022-04-08 14:22:53 +02:00
nand_bbt.c mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND 2021-07-16 01:06:22 +02:00
nand_esmt.c
nand_hynix.c
nand_ids.c
nand_jedec.c
nand_legacy.c mtd: rawnand: Avoid accessing NV-DDR timings from legacy code 2021-05-26 10:43:52 +02:00
nand_macronix.c
nand_micron.c
nand_onfi.c mtd: rawnand: onfi: Fix endianness when reading NV-DDR values 2021-06-18 09:45:20 +02:00
nand_samsung.c
nand_timings.c mtd: rawnand: Add a helper to find the closest ONFI NV-DDR mode 2021-05-26 10:43:59 +02:00
nand_toshiba.c
nandsim.c
ndfc.c mtd: rawnand: ndfc: Fix external use of SW Hamming ECC helper 2021-05-10 18:34:29 +02:00
omap2.c mtd: rawnand: omap: Fix kernel doc warning on 'calcuate' typo 2021-08-06 22:01:56 +02:00
omap_elm.c mtd: rawnand: omap: Add larger page NAND chips support 2021-06-18 09:45:21 +02:00
orion_nand.c mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:19 +01:00
oxnas_nand.c
pasemi_nand.c mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:18 +01:00
pl35x-nand-controller.c mtd: rawnand: pl353: Set the nand chip node as the flash node 2022-04-08 14:23:32 +02:00
plat_nand.c mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:19 +01:00
qcom_nandc.c mtd: rawnand: qcom: fix memory corruption that causes panic 2022-05-09 09:14:41 +02:00
r852.c mtd: rawnand: r852: use DEVICE_ATTR_RO() helper macro 2021-06-18 09:45:21 +02:00
r852.h
rockchip-nand-controller.c mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array 2021-03-28 19:13:39 +02:00
s3c2410.c
sh_flctl.c mtd: rawnand: Fix return value check of wait_for_completion_timeout 2022-05-09 09:14:34 +02:00
sharpsl.c mtd: rawnand: sharpsl: Fix external use of SW Hamming ECC helper 2021-05-10 18:34:30 +02:00
sm_common.c
sm_common.h
socrates_nand.c mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines 2021-11-18 19:16:02 +01:00
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: Fix fall-through warnings for Clang 2021-03-11 12:17:48 +01:00
sunxi_nand.c mtd: rawnand: sunxi: remove unnecessary oom message 2021-06-11 20:43:33 +02:00
tegra_nand.c
tmio_nand.c mtd: rawnand: tmio: Fix external use of SW Hamming ECC helper 2021-05-10 18:34:30 +02:00
txx9ndfmc.c mtd: rawnand: txx9ndfmc: Fix external use of SW Hamming ECC helper 2021-05-10 18:34:30 +02:00
vf610_nfc.c
xway_nand.c mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines 2021-11-18 19:17:18 +01:00