]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NAND] Avoid deadlock in erase callback; release chip lock first.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 6 Oct 2007 19:01:59 +0000 (15:01 -0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 6 Oct 2007 19:01:59 +0000 (15:01 -0400)
commit61a42959cd59ce97ca86985c526922251f598110
tree992d7b968c1055a262b02c56dadb0ca1c65ab917
parent234fac88b26713bf25d913be79b881f627afeede
[MTD] [NAND] Avoid deadlock in erase callback; release chip lock first.

When the erase callback performs some other action on the flash, it's
highly likely to deadlock unless we actually release the chip lock
before calling it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c