linux-stable/drivers/mtd/spi-nor
Pan Bian df2d431a1e mtd: spi-nor: hisi-sfc: Put child node np on error path
commit fe6653460e upstream.

Put the child node np when it fails to get or register device.

Fixes: e523f11141 ("mtd: spi-nor: add hisilicon spi-nor flash controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: Pan Bian <bianpan2016@163.com>
[ta: Add Fixes tag and Cc stable]
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210121091847.85362-1-bianpan2016@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 11:38:37 +01:00
..
controllers mtd: spi-nor: hisi-sfc: Put child node np on error path 2021-03-04 11:38:37 +01:00
atmel.c mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 2020-12-30 11:53:41 +01:00
catalyst.c mtd: spi-nor: Move Catalyst bits out of core.c 2020-03-17 09:28:05 +02:00
core.c mtd: spi-nor: core: Add erase size check for erase command initialization 2021-03-04 11:38:37 +01:00
core.h mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 2020-12-30 11:53:41 +01:00
eon.c mtd: spi-nor: Move Eon bits out of core.c 2020-03-17 09:28:02 +02:00
esmt.c mtd: spi-nor: Move ESMT bits out of core.c 2020-03-17 09:28:02 +02:00
everspin.c mtd: spi-nor: Move Everspin bits out of core.c 2020-03-17 09:28:03 +02:00
fujitsu.c mtd: spi-nor: Move Fujitsu bits out of core.c 2020-03-17 09:28:03 +02:00
gigadevice.c mtd: spi-nor: Trim what is exposed in spi-nor.h 2020-03-17 09:28:07 +02:00
intel.c mtd: spi-nor: Move Intel bits out of core.c 2020-03-17 09:28:03 +02:00
issi.c mtd: spi-nor: Trim what is exposed in spi-nor.h 2020-03-17 09:28:07 +02:00
Kconfig mtd: spi-nor: Fix SPI NOR acronym 2020-05-28 10:46:23 +03:00
macronix.c mtd: spi-nor: macronix: Add SECT_4K to mx25l12805d 2020-09-29 18:44:27 +05:30
Makefile mtd: spi-nor: Compile files in controllers/ directory 2020-04-09 22:00:13 +02:00
micron-st.c mtd: spi-nor: micron: Add SPI_NOR_DUAL_READ flag on mt25qu02g 2020-07-27 08:37:06 +03:00
sfdp.c mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region 2021-03-04 11:38:37 +01:00
sfdp.h mtd: spi-nor: winbond: Fix 4-byte opcode support for w25q256 2020-05-31 08:34:16 +03:00
spansion.c mtd: spi-nor: update read capabilities for w25q64 and s25fl064k 2020-07-27 09:03:32 +03:00
sst.c mtd: spi-nor: sst: fix BPn bits for the SST25VF064C 2020-12-30 11:53:40 +01:00
winbond.c mtd: spi-nor: winbond: Add support for w25q64jwm 2020-09-29 18:47:11 +05:30
xilinx.c mtd: spi-nor: Trim what is exposed in spi-nor.h 2020-03-17 09:28:07 +02:00
xmc.c mtd: spi-nor: Move XMC bits out of core.c 2020-03-17 09:28:06 +02:00