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

Miquel Raynal miquel.raynal at bootlin.com
Wed Feb 9 00:32:56 PST 2022


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 at geanix.com>
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
> Cc: stable at vger.kernel.org

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