android_kernel_xiaomi_sm8350/drivers/mtd
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
..
chips mtd/chips: add missing set_current_state() to cfi_{amdstd,staa}_sync() 2008-04-08 18:25:53 -07:00
devices mtd: memory corruption in block2mtd.c 2008-03-24 19:22:19 -07:00
maps mtd: maps/physmap: fix oops in suspend/resume/shutdown ops 2008-03-28 14:45:22 -07:00
nand mtd: nand: add out label in rfc_from4 2008-03-28 14:45:21 -07:00
onenand [MTD] onenand: Add panic_write function to the onenand driver 2008-02-07 10:31:23 +00:00
ubi UBI: mtd/ubi/vtbl.c: fix memory leak 2008-03-04 11:03:09 +02:00
afs.c
cmdlinepart.c [MTD] Unlocking all Intel flash that is locked on power up. 2008-02-03 18:25:16 +11:00
ftl.c
inftlcore.c
inftlmount.c
Kconfig [MTD] Factor out OF partition support from the NOR driver. 2008-02-03 18:06:48 +11:00
Makefile [MTD] Factor out OF partition support from the NOR driver. 2008-02-03 18:06:48 +11:00
mtd_blkdevs.c
mtdblock_ro.c
mtdblock.c
mtdchar.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 2008-02-03 18:30:32 +11:00
mtdconcat.c
mtdcore.c [MTD] Unlocking all Intel flash that is locked on power up. 2008-02-03 18:25:16 +11:00
mtdcore.h
mtdoops.c [MTD] Fix mtdoops.c compilation 2008-02-07 10:50:57 +00:00
mtdpart.c [MTD] Add mtd panic_write function pointer 2008-02-07 10:30:48 +00:00
mtdsuper.c Introduce path_put() 2008-02-14 21:13:33 -08:00
nftlcore.c
nftlmount.c Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ofpart.c [MTD] Factor out OF partition support from the NOR driver. 2008-02-03 18:06:48 +11:00
redboot.c
rfd_ftl.c
ssfdc.c