android_kernel_xiaomi_sm8350/drivers/mtd/spi-nor
Dhruva Gole 6716203844 spi: cadence-quadspi: fix suspend-resume implementations
[ Upstream commit 2087e85bb66ee3652dafe732bb9b9b896229eafc ]

The cadence QSPI driver misbehaves after performing a full system suspend
resume:
...
spi-nor spi0.0: resume() failed
...
This results in a flash connected via OSPI interface after system suspend-
resume to be unusable.
fix these suspend and resume functions.

Fixes: 1406234105 ("mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller")
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230417091027.966146-3-d-gole@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:35:48 +02:00
..
aspeed-smc.c
cadence-quadspi.c spi: cadence-quadspi: fix suspend-resume implementations 2023-05-17 11:35:48 +02:00
hisi-sfc.c
intel-spi-pci.c
intel-spi-platform.c
intel-spi.c
intel-spi.h
Kconfig
Makefile
mtk-quadspi.c
nxp-spifi.c
spi-nor.c