linux/drivers/mtd/nand/raw
Samuel Holland 6d7fea226b mtd: rawnand: sunxi: Clean up chips after failed init
If a chip fails to initialize, we need to clean up any chips that were
already initialized/registered.

Fixes: 1fef62c142 ("mtd: nand: add sunxi NAND flash controller support")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221229181526.53766-2-samuel@sholland.org
2023-01-02 12:14:21 +01:00
..
atmel mtd: rawnand: atmel: Unmap streaming DMA mappings 2022-09-21 10:38:46 +02:00
bcm47xxnflash mtd: rawnand: bcm47xx: fix spelling typo in comment 2022-09-21 10:38:47 +02:00
brcmnand mtd: rawnand: brcmnand: Add individual glue driver selection 2022-09-21 10:38:46 +02:00
gpmi-nand mtd: rawnand: gpmi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync 2022-10-18 10:27:06 +02:00
ingenic SPI NOR core changes: 2022-03-18 20:14:42 +01:00
ams-delta.c mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:14 +02:00
arasan-nand-controller.c mtd: rawnand: arasan: stop using 0 as NULL pointer 2022-09-21 10:38:46 +02:00
au1550nd.c mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:16 +02:00
cadence-nand-controller.c mtd: rawnand: cadence: support 64-bit slave dma interface 2022-10-18 11:41:30 +02:00
cafe_nand.c mtd: rawnand: cafe: Use correct function name in comment block 2022-09-21 10:38:46 +02:00
cs553x_nand.c mtd: rawnand: cs553x: simplify the return expression of cs553x_write_ctrl_byte() 2022-05-12 16:43:03 +02:00
davinci_nand.c mtd: rawnand: davinci: Remove redundant unsigned comparison to zero 2022-04-04 10:34:46 +02:00
denali_dt.c mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname() 2021-09-14 19:34:34 +02:00
denali_pci.c mtd: rawnand: denali: Use managed device resources 2022-04-21 09:34:00 +02:00
denali.c
denali.h
diskonchip.c
fsl_elbc_nand.c mtd: rawnand: fsl_elbc: Fix none ECC mode 2022-09-20 10:06:59 +02:00
fsl_ifc_nand.c
fsl_upm.c
fsmc_nand.c mtd: rawnand: fsmc: Fix timing computation 2021-12-03 14:33:45 +01:00
gpio.c mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:18 +02:00
hisi504_nand.c mtd: rawnand: hisi504: Make use of the helper function devm_platform_ioremap_resource() 2021-09-14 19:34:41 +02:00
intel-nand-controller.c mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe() 2022-10-18 10:28:15 +02:00
internals.h
Kconfig mtd: rawnand: Drop obsolete dependencies on COMPILE_TEST 2022-11-25 10:05:33 +01:00
lpc32xx_mlc.c mtd: rawnand: lpc32xx_mlc: Switch to using pm_ptr() 2022-11-07 17:17:21 +01:00
lpc32xx_slc.c mtd: rawnand: lpc32xx_slc: Switch to using pm_ptr() 2022-11-07 17:17:22 +01:00
Makefile mtd: nand: make mtk_ecc.c a separated module 2022-04-27 18:12:35 +02:00
marvell_nand.c mtd: rawnand: marvell: add missing layouts 2023-01-02 12:14:21 +01:00
meson_nand.c mtd: rawnand: meson: refine resource getting in probe 2022-09-21 10:38:47 +02:00
mpc5121_nfc.c mtd: rawnand: mpc5121: Replace NO_IRQ by 0 2022-10-18 10:36:06 +02:00
mtk_nand.c mtd: nand: make mtk_ecc.c a separated module 2022-04-27 18:12:35 +02:00
mxc_nand.c
mxic_nand.c
nand_amd.c
nand_base.c mtd: rawnand: placate "$VARIABLE is used uninitialized" warnings 2022-11-07 16:49:31 +01:00
nand_bbt.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
nand_esmt.c
nand_hynix.c mtd: rawnand: hynix: Add support for H27UCG8T2ETR-BC MLC NAND 2021-10-15 12:24:50 +02:00
nand_ids.c Revert "mtd: rawnand: add support for Toshiba TC58NVG0S3HTA00 NAND flash" 2022-06-09 15:07:07 +02:00
nand_jedec.c
nand_legacy.c
nand_macronix.c
nand_micron.c
nand_onfi.c
nand_samsung.c
nand_timings.c
nand_toshiba.c mtd: rawnand: kioxia: Add support for TH58NVG3S0HBAI4 2022-05-12 16:43:01 +02:00
nandsim.c treewide: use get_random_u32_inclusive() when possible 2022-11-18 02:18:02 +01:00
ndfc.c Revert "mtd: rawnand: ndfc: Fix external use of SW Hamming ECC helper" 2021-10-15 12:21:07 +02:00
omap2.c mtd: rawnand: omap2: Suppress error message after WARN in .remove() 2022-06-09 15:06:21 +02:00
omap_elm.c mtd: rawnand: omap_elm: Add compatible for AM64 ELM 2022-04-11 10:56:33 +02:00
orion_nand.c mtd: rawnand: orion: Use devm_clk_get_optional() 2022-09-21 10:38:46 +02:00
oxnas_nand.c mtd: rawnand: oxnas: Make use of the helper function devm_platform_ioremap_resource() 2021-09-14 19:34:51 +02:00
pasemi_nand.c mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:24 +02:00
pl35x-nand-controller.c mtd: rawnand: pl353: Set the nand chip node as the flash node 2022-02-18 15:14:58 +01:00
plat_nand.c mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:26 +02:00
qcom_nandc.c mtd: rawnand: qcom: handle ret from parse with codeword_fixup 2022-11-07 16:49:15 +01:00
r852.c
r852.h
renesas-nand-controller.c mtd: rawnand: renesas: Use runtime PM instead of the raw clock API 2022-05-16 18:36:21 +02:00
rockchip-nand-controller.c mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed 2022-05-16 18:34:36 +02:00
s3c2410.c
sh_flctl.c mtd: rawnand: Fix return value check of wait_for_completion_timeout 2022-04-21 09:29:03 +02:00
sharpsl.c block: remove genhd.h 2022-02-02 07:49:59 -07:00
sm_common.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
sm_common.h
socrates_nand.c mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:29 +02:00
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: switch to using devm_fwnode_gpiod_get() 2022-09-21 10:38:47 +02:00
sunxi_nand.c mtd: rawnand: sunxi: Clean up chips after failed init 2023-01-02 12:14:21 +01:00
tegra_nand.c mtd: rawnand: tegra: Fix PM disable depth imbalance in probe 2022-10-18 10:29:39 +02:00
tmio_nand.c mtd: rawnand: tmio: check return value after calling platform_get_resource() 2022-04-27 17:15:09 +02:00
txx9ndfmc.c Revert "mtd: rawnand: txx9ndfmc: Fix external use of SW Hamming ECC helper" 2021-10-15 12:21:01 +02:00
vf610_nfc.c mtd: rawnand: vf610: Make use of the helper function devm_platform_ioremap_resource() 2021-09-14 19:35:03 +02:00
xway_nand.c mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines 2021-10-15 12:21:31 +02:00