diff options
author | Bob Copeland <me@bobcopeland.com> | 2010-07-13 11:32:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-14 13:52:46 -0400 |
commit | 450464def78c94018d997ae6f823578499cdf879 (patch) | |
tree | 2d6285b15042a77a3298a83eee0856050488ef8c /drivers/scsi/scsi_lib_dma.c | |
parent | 5faaff747710dfb79d5aa72b9faface94ad4b3f3 (diff) |
ath5k: disable tasklets during reset
Based on a patch from Bruno Randolf, attempting useful
work while we are resetting the chip just leads to interface
lockups and bad descriptor data, and possibly DMAing to
freed buffers. Let's suspend all tasklets while
reprogramming the registers in the card to avoid such
problems.
In the future we can convert the tasklets to threaded
interrupt handlers to simplify things.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/scsi/scsi_lib_dma.c')
0 files changed, 0 insertions, 0 deletions