]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] NAND Initialize controller lock and wq only once
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Thu, 25 May 2006 07:45:29 +0000 (09:45 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 25 May 2006 11:45:26 +0000 (12:45 +0100)
commit1b0672ac586fd905d7c72acd176c2eda41efcadd
treee4bf0095d7a46912d13a1508ba9acd6e39fa3733
parent80d3c43fec86f05fa887c7b06c179da0ed9655c2
[MTD] NAND Initialize controller lock and wq only once

The lock simplifying patch did not move the lock and waitqueue
initialization into the controller allocation patch.
This reinitializes waitqueue and spinlocks also for driver
supplied controller stuctures. Move it into the allocation path.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/ndfc.c