diff options
| author | 2026-08-11 17:56:23 +0200 | |
|---|---|---|
| committer | 2026-09-04 10:54:18 +0200 | |
| commit | f594a33f9721f08facd98d0a31adc14ff6da9d70 (patch) | |
| tree | 67648ad0ae57aed15b5643598fa8990aa7752570 /scripts/Makefile.thinlto | |
| parent | mtd: spi-nor: xmc: add locking to XM25QH128A (diff) | |
mtd: spi-nor: Unprepare legacy controllers upon RWW wait interruption
All the parallel locking helpers (spi_nor_prep_and_lock(),
spi_nor_prep_and_lock_pe() and spi_nor_prep_and_lock_rd()) call
spi_nor_prep() then wait with a killable sleep. If the sleep gets
killed, we leave the controller in its prepared state.
Call ->unprepare() in these cases.
Fixes: 74df43b3f626 ("mtd: spi-nor: Enhance locking to support reads while writes")
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Acked-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Michael Walle <mwalle@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
