ath9k: Fix interrupt handling for the AR9002 family
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 16 Dec 2013 01:34:59 +0000 (07:04 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Dec 2013 18:58:25 +0000 (13:58 -0500)
commit73f0b56a1ff64e7fb6c3a62088804bab93bcedc2
tree94ae80d59e00f1dcc52f7795a8c22d456cc469de
parent9278db6279e28d4d433bc8a848e10b4ece8793ed
ath9k: Fix interrupt handling for the AR9002 family

This patch adds a driver workaround for a HW issue.

A race condition in the HW results in missing interrupts,
which can be avoided by a read/write with the ISR register.
All chips in the AR9002 series are affected by this bug - AR9003
and above do not have this problem.

Cc: stable@vger.kernel.org
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_mac.c