On Thu, 2023-07-06 at 18:29:07 UTC, William Zhang wrote: > When executing a NAND command within the panic write path, wait for any > pending command instead of calling BUG_ON to avoid crashing while > already crashing. > > Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB NAND controller") > Signed-off-by: William Zhang <william.zhang@xxxxxxxxxxxx> > Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx> > Reviewed-by: Kursad Oney <kursad.oney@xxxxxxxxxxxx> > Reviewed-by: Kamal Dasu <kamal.dasu@xxxxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel