linux-kernel-test/drivers/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
..
chips [MTD] cfi_cmdset_0002: Fix broken status check 2005-05-24 15:33:49 +02:00
devices [MTD] mtdram: Quick cleanup of the driver: 2005-05-23 13:18:26 +02:00
maps [MTD] sharpsl-flash: Correct error paths 2005-05-23 13:03:41 +02:00
nand [MTD] NAND: Reorganize chip locking 2005-06-29 14:15:17 +02:00
afs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cmdlinepart.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ftl.c [MTD] FTL Fix missing pointer assignment 2005-05-23 11:19:46 +02:00
inftlcore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inftlmount.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
mtd_blkdevs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtdblock_ro.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtdblock.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtdchar.c [MTD] Reset file position when switching OTP mode 2005-05-23 13:07:33 +02:00
mtdconcat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtdcore.c [MTD] Fix unregister_mtd_user() public function documentation. 2005-05-23 12:41:03 +02:00
mtdpart.c [MTD] Support for protection register support on Intel FLASH chips 2005-05-23 12:25:23 +02:00
nftlcore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nftlmount.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
redboot.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00