From: Felix Fietkau Date: Wed, 14 Jan 2015 13:17:36 +0000 (+0100) Subject: ath9k: fix race condition in irq processing during hardware reset X-Git-Tag: fixes-v4.0-rc1~235^2~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f31175a3eeb492a6ab788e4fa136c19b43aab4;p=pandora-kernel.git ath9k: fix race condition in irq processing during hardware reset To fix invalid hardware accesses, the commit 872b5d814f99 ("ath9k: do not access hardware on IRQs during reset") made the irq handler ignore interrupts emitted after queueing a hardware reset (which disables the IRQ). This left a small time window for the IRQ to get re-enabled by the tasklet, which caused IRQ storms. Instead of returning IRQ_NONE when ATH_OP_HW_RESET is set, disable the IRQ entirely for the duration of the reset. Signed-off-by: Felix Fietkau Signed-off-by: Kalle Valo --- Reading git-diff-tree failed