From: Maxim Levitsky Date: Wed, 2 Jun 2010 13:01:46 +0000 (+0300) Subject: mtd/r852: Fixes in case of DMA timeout X-Git-Tag: v2.6.35-rc3~29^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9489be8ca234c07666e88a4472e4d5f2a2425aa5;p=pandora-kernel.git mtd/r852: Fixes in case of DMA timeout * Don't call complete on dma completion * do a INIT_COMPLETE before using it each time * Report DMA read error via ecc 'correct' I finally managed to make my system do suspend to ram propertly, and I see that if card was inserted during suspend (while system was off), I get dma timeouts on resume. Simple card reinsert solves the issue. This patch solves a crash that would happen otherwise Signed-off-by: Maxim Levitsky Signed-off-by: David Woodhouse --- Reading git-diff-tree failed