linux/drivers/mtd/chips
Joakim Tjernlund ecf3fde07c mtd: fix race in cfi_cmdset_0001 driver
As inval_cache_and_wait_for_operation() drop and reclaim the lock
to invalidate the cache, some other thread may suspend the operation
before reaching the for(;;) loop. Therefore the loop must start with
checking the chip->state before reading status from the chip.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Michael Cashwell <mboards@prograde.net>
Acked-by: Stefan Bigler <stefan.bigler@keymile.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org
2011-03-11 12:09:07 +00:00
..
cfi_cmdset_0001.c mtd: fix race in cfi_cmdset_0001 driver 2011-03-11 12:09:07 +00:00
cfi_cmdset_0002.c mtd: cfi: add writebufsize initialization 2011-01-06 15:35:53 +00:00
cfi_cmdset_0020.c mtd: cfi: add writebufsize initialization 2011-01-06 15:35:53 +00:00
cfi_probe.c
cfi_util.c mtd: cfi_fixup: remove unused 'param' parameter 2010-12-03 16:31:00 +00:00
chipreg.c
fwh_lock.h mtd: cfi_fixup: remove unused 'param' parameter 2010-12-03 16:31:00 +00:00
gen_probe.c
jedec_probe.c mtd: jedec_probe: initialise make sector erase command variable 2011-03-11 12:05:54 +00:00
Kconfig Revert "mtd: cleanup Kconfig dependencies" 2010-10-26 11:42:51 +01:00
Makefile
map_absent.c
map_ram.c
map_rom.c