kernel-hacking-2024-linux-s.../drivers/mtd/chips
Tadashi Abe 100f2341e3 mtd: fix hang-up in cfi erase and read contention
cfi erase command hangs up when erase and read contention occurs.
If read runs at the same address as erase operation, read issues
Erase-Suspend via get_chip() and the erase goes into sleep in wait queue.
But in this case, read operation exits by time-out without waking it up.

I think the other variants (0001, 0020 and lpddr) have the same problem too.
Tested and verified the patch only on CFI-0002 flash, though.

Signed-off-by: Tadashi Abe <tabe@mvista.com>
Acked-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-05-25 02:11:11 +01:00
..
cfi_cmdset_0001.c mtd: fix hang-up in cfi erase and read contention 2011-05-25 02:11:11 +01:00
cfi_cmdset_0002.c mtd: fix hang-up in cfi erase and read contention 2011-05-25 02:11:11 +01:00
cfi_cmdset_0020.c mtd: fix hang-up in cfi erase and read contention 2011-05-25 02:11:11 +01:00
cfi_probe.c
cfi_util.c
chipreg.c
fwh_lock.h
gen_probe.c
jedec_probe.c
Kconfig
Makefile
map_absent.c
map_ram.c
map_rom.c