android_kernel_xiaomi_sm7250/drivers/mtd/chips
Alexander Belyakov 6c24e4161e [MTD] [NOR] Prevent erase command invocation on suspended chip
while running stress tests we have met cfi_cmdset_0001.c driver issue.
Working on multipartitional devices with erase suspend on write
feature enabled it is possible to get erase operation invoked on chip
with suspended erase. get_chip() looses information about earlier
suspended erase and new erase operation gets issued. New erase
operations report successful completion, but blocks remain dirty
causing, for example, JFFS2 error messages like:

...
Newly-erased block contained word 0x20031985 at offset 0x00200000
Newly-erased block contained word 0x20031985 at offset 0x00280000
Newly-erased block contained word 0x20031985 at offset 0x00240000
...

The patch below fixes that issue.

Signed-off-by: Alexander Belyakov <alexander.belyakov@intel.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-11-26 15:54:16 +00:00
..
cfi_cmdset_0001.c [MTD] [NOR] Prevent erase command invocation on suspended chip 2007-11-26 15:54:16 +00:00
cfi_cmdset_0002.c [MTD] [NOR] More CFI fixups for Atmel chips 2007-10-30 12:06:42 -04:00
cfi_cmdset_0020.c [MTD] [NOR] Fix oops in cfi_amdstd_sync 2007-03-08 09:22:38 +00:00
cfi_probe.c
cfi_util.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
chipreg.c
fwh_lock.h [MTD] Fix fwh_lock locking 2007-04-17 14:11:20 -04:00
gen_probe.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
jedec_probe.c [MTD] [NOR] Add support for the SST 39VF1601 flash chip 2007-11-09 22:34:07 +00:00
Kconfig [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
Makefile [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
map_absent.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
map_ram.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
map_rom.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00