diff options
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | 2018-03-01 14:39:41 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-04-24 17:42:15 +0200 |
commit | 7b70eb14392a7cf505f9b358d06c33b5af73d1e7 (patch) | |
tree | 0097cafcb7324cf33c0e3cadd9b33ade4e9df6e1 /lib/clz_tab.c | |
parent | mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug. (diff) | |
download | linux-7b70eb14392a7cf505f9b358d06c33b5af73d1e7.tar.xz linux-7b70eb14392a7cf505f9b358d06c33b5af73d1e7.zip |
mtd: cfi: cmdset_0002: 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.
Taken from cfi_cmdset_0001 driver.
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>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions