diff options
author | 2010-06-02 16:01:46 +0300 | |
---|---|---|
committer | 2010-06-02 14:53:40 +0100 | |
commit | 9489be8ca234c07666e88a4472e4d5f2a2425aa5 (patch) | |
tree | c5bbb7a4b0926d830c6a5a275496284acd9efc3b /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
parent | mtd/r852: register IRQ as last step (diff) | |
download | wireguard-linux-9489be8ca234c07666e88a4472e4d5f2a2425aa5.tar.xz wireguard-linux-9489be8ca234c07666e88a4472e4d5f2a2425aa5.zip |
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 <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_ctl.c')
0 files changed, 0 insertions, 0 deletions