[PATCH] mtd: spi-nor: Unprepare legacy controllers upon RWW wait interruption

Michael Walle mwalle at kernel.org
Fri Sep 4 06:40:39 PDT 2026


On Tue, 11 Aug 2026 17:56:23 +0200, Miquel Raynal wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] mtd: spi-nor: Unprepare legacy controllers upon RWW wait interruption
      commit: f594a33f9721f08facd98d0a31adc14ff6da9d70

Best regards,
-- 
Michael Walle <mwalle at kernel.org>




More information about the linux-mtd mailing list