[PATCH v2] mtd: rawnand: protect access to rawnand devices while in suspend

Miquel Raynal miquel.raynal at bootlin.com
Mon Feb 7 07:39:40 PST 2022


On Mon, 2022-01-31 at 21:51:38 UTC, Sean Nyekjaer wrote:
> Prevent rawnend access while in a suspended state.
> 
> Commit 013e6292aaf5 ("mtd: rawnand: Simplify the locking") allows the
> rawnand layer to return errors rather than waiting in a blocking wait.
> 
> Tested on a iMX6ULL.
> 
> Fixes: 013e6292aaf5 ("mtd: rawnand: Simplify the locking")
> Signed-off-by: Sean Nyekjaer <sean at geanix.com>
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list