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

From: Miquel Raynal
Date: Wed Feb 09 2022 - 03:33:15 EST


On Tue, 2022-02-08 at 08:52:13 UTC, Sean Nyekjaer wrote:
> Prevent rawnand 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>
> Cc: stable@xxxxxxxxxxxxxxx

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

Miquel