android_kernel_xiaomi_sm7250/include/linux/mtd
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
..
blktrans.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfi_endian.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfi.h [MTD] Add the reverse operation of cfi_build_cmd() 2005-05-23 12:53:05 +02:00
compatmac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
concat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
doc2000.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flashchip.h [MTD] Fixed signed 1bit bitfield 2005-05-23 12:51:30 +02:00
ftl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen_probe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iflash.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inftl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jedec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
map.h [MTD] Fix it really 2005-05-25 12:32:37 +02:00
mtd.h [MTD] Fix broken user ABI 2005-05-23 13:17:11 +02:00
nand_ecc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nand.h [MTD] NAND: Reorganize chip locking 2005-06-29 14:15:17 +02:00
nftl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
partitions.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
physmap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
plat-ram.h [MTD] Platform RAM Driver 2005-05-23 11:33:47 +02:00
pmc551.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00