From: Adrian Hunter Date: Fri, 12 Oct 2007 07:34:01 +0000 (+0300) Subject: [MTD] [OneNAND] Avoid deadlock in erase callback; release chip lock first. X-Git-Tag: v2.6.24-rc1~1324^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cd3a86b6fdcb80ad097850a0990bcf6251422fe;p=pandora-kernel.git [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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed