commit | 6510bbc88e3258631831ade49033537081950605 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | Thu Mar 01 14:39:39 2018 +0100 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Tue Apr 24 17:41:18 2018 +0200 |
tree | 0d8762148a39f335e76992d0e937bafc657e5b69 | |
parent | 47016b341fc3b3fd4909e058c6fa38f165b53646 [diff] |
mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block. Currently it is possible to read and/or write to suspend EB's. Writing /dev/mtdX or /dev/mtdblockX from several processes may break the flash state machine. 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>