]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit49defc015ff58fda46a3afa3462dfdfa69bc8401
tree992d7b968c1055a262b02c56dadb0ca1c65ab917
parent1fcf8ce51e7acc4b66904c4e159690c9467606b5
[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