From: Jiri Slaby Date: Tue, 15 Jul 2008 15:44:20 +0000 (+0200) Subject: Ath5k: flush work X-Git-Tag: v2.6.27-rc2~119^2~6^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274c7c3638cd027b46f76d0caef96c1bad8b6701;p=pandora-kernel.git Ath5k: flush work Make sure that the irq is not in progress after stop. This means two things: - ensure the intr setting register is set by flushing posted values - call synchronize_irq() after that Also flush stop tx write, inform callers of the tx stop about still pending transfers (unsuccessful stop) and finally don't wait another 3ms in ath5k_rx_stop, since ath5k_hw_stop_rx_dma ensures transfer to be finished. Make sure all writes will be ordered in respect to locks by mmiowb(). Signed-off-by: Jiri Slaby Acked-by: Nick Kossifidis Cc: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed