android_kernel_xiaomi_sm7250/drivers/mtd/nand
Thomas Gleixner 0dfc62465e [MTD] NAND: Reorganize chip locking
The code was wrong in several aspects. The locking order was
inconsistent, the device aquire code did not reset a variable
after a wakeup and the wakeup handling was not working for
applications where multiple chips are sharing a single
hardware controller.
When a hardware controller is available the locking is now
reduced to the hardware controller lock and the waitqueue is
moved to the hardware controller structure in order to avoid
a wake_up_all().

The problem was pointed out by Ben Dooks, who also found the
missing variable reset as main cause for his deadlock problem.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2005-06-29 14:15:17 +02:00
..
au1550nd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
autcpu12.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
diskonchip.c [MTD] DiskOnChip: Add some comments 2005-05-23 13:11:44 +02:00
edb7312.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h1910.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nand_base.c [MTD] NAND: Reorganize chip locking 2005-06-29 14:15:17 +02:00
nand_bbt.c [MTD] NAND: Fix bad block table scan for small page devices 2005-05-23 12:38:33 +02:00
nand_ecc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nand_ids.c [MTD] NAND: Add Hynix to manufacturer list 2005-05-27 10:40:27 +02:00
nandsim.c [MTD] NAND nandsim: Use NAND_SKIP_BBT option 2005-05-23 12:59:33 +02:00
ppchameleonevb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rtc_from4.c [MTD] rtc_from4 error status check, disable virtual erase blocks 2005-05-23 12:10:36 +02:00
s3c2410.c [MTD] NAND s3c2410: Simplify command handling 2005-05-23 12:55:50 +02:00
sharpsl.c [MTD] NAND SharpSL fix default partition size 2005-05-23 11:31:47 +02:00
spia.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
toto.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx4925ndfmc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx4938ndfmc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00