commit | 49defc015ff58fda46a3afa3462dfdfa69bc8401 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Sat Oct 06 15:01:59 2007 -0400 |
committer | David Woodhouse <dwmw2@infradead.org> | Sat Oct 06 15:01:59 2007 -0400 |
tree | 992d7b968c1055a262b02c56dadb0ca1c65ab917 | |
parent | 1fcf8ce51e7acc4b66904c4e159690c9467606b5 [diff] |
[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>