WSL2-Linux-Kernel/include/linux/mtd
Sean Nyekjaer 31d7d7f350 mtd: rawnand: protect access to rawnand devices while in suspend
commit 8cba323437 upstream.

Prevent rawnand access while in a suspended state.

Commit 013e6292aa ("mtd: rawnand: Simplify the locking") allows the
rawnand layer to return errors rather than waiting in a blocking wait.

Tested on a iMX6ULL.

Fixes: 013e6292aa ("mtd: rawnand: Simplify the locking")
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220208085213.1838273-1-sean@geanix.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:22:53 +02:00
..
bbm.h
blktrans.h
cfi.h
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h
inftl.h
jedec.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h mtd: core: add OTP nvmem provider support 2021-05-10 12:42:55 +02:00
mtdram.h
nand-ecc-sw-bch.h
nand-ecc-sw-hamming.h
nand-gpio.h
nand.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h mtd: rawnand: Support enabling NV-DDR through SET_FEATURES 2021-05-26 10:51:00 +02:00
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: protect access to rawnand devices while in suspend 2022-04-08 14:22:53 +02:00
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: sfdp: save a copy of the SFDP data 2021-06-15 23:18:31 +05:30
spinand.h mtd: spinand: use the spi-mem poll status APIs 2021-06-03 14:04:57 +01:00
super.h
ubi.h
xip.h