android_kernel_xiaomi_sm8350/drivers/mtd/chips
Dmitry Adamushko f8e30e447c mtd/chips: add missing set_current_state() to cfi_{amdstd,staa}_sync()
cfi_amdstd_sync() and cfi_staa_sync() call schedule() without changing task's
state appropriately.

In case of e.g.  chip->state == FL_ERASING, cfi_*_sync() will be busy-looping
either redundantly for a fixed interval of time (for SCHED_NORMAL tasks) or
possibly endlessly (for RT tasks and UP).

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-08 18:25:53 -07:00
..
cfi_cmdset_0001.c mtd: fix broken state in CFI driver caused by FL_SHUTDOWN 2008-04-04 14:46:26 -07:00
cfi_cmdset_0002.c mtd/chips: add missing set_current_state() to cfi_{amdstd,staa}_sync() 2008-04-08 18:25:53 -07:00
cfi_cmdset_0020.c mtd/chips: add missing set_current_state() to cfi_{amdstd,staa}_sync() 2008-04-08 18:25:53 -07:00
cfi_probe.c [MTD] [NOR] Fix incorrect interface code for x16/x32 chips 2008-01-10 22:07:12 +00:00
cfi_util.c
chipreg.c
fwh_lock.h
gen_probe.c [MTD] [NOR] fix startup lock when using multiple nor flash chips 2008-02-07 10:38:12 +00:00
jedec_probe.c [MTD] jedec probe: drop unnecessary forward declarations 2008-02-03 17:58:05 +11:00
Kconfig
Makefile
map_absent.c
map_ram.c
map_rom.c