diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2007-10-12 10:34:01 +0300 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-10-14 13:37:53 +0100 |
commit | 3cd3a86b6fdcb80ad097850a0990bcf6251422fe (patch) | |
tree | 287cdca45092f67a98af79853134e71545cfdf12 /drivers/mtd/ubi/debug.c | |
parent | 30a7eb298af849bae3050e0a3f4c130995da22b0 (diff) |
[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>
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
0 files changed, 0 insertions, 0 deletions