]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [OneNAND] Avoid deadlock in erase callback; release chip lock first.
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Fri, 12 Oct 2007 07:34:01 +0000 (10:34 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 14 Oct 2007 12:37:53 +0000 (13:37 +0100)
commit3cd3a86b6fdcb80ad097850a0990bcf6251422fe
tree287cdca45092f67a98af79853134e71545cfdf12
parent30a7eb298af849bae3050e0a3f4c130995da22b0
[MTD] [OneNAND] 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.

This patch mirrors that same change already done for NAND.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_base.c