mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Thu, 1 Mar 2018 13:39:40 +0000 (14:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2018 14:59:54 +0000 (07:59 -0700)
commit6ad4bee75e23e6ce91f073d39b68db9f544ce5a0
tree3d52e1aecc61898897b77b3c3179917bb8f1afea
parent51f8a19af20b999bd1766b695f4a86db5b08c323
mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug.

commit 46a16a2283f9e678a4e26829175e0c37a5191860 upstream.

Some Micron chips does not work well wrt Erase suspend for
boot blocks. This avoids the issue by not allowing Erase suspend
for the boot blocks for the 28F00AP30(1GBit) chip.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/chips/cfi_cmdset_0001.c