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

From: Miquel Raynal
Date: Mon Feb 07 2022 - 10:44:42 EST


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@xxxxxxxxxx>
> Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>

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

Miquel