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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:25:12 +0000 (12:25 -0800)
commit8d0085e1d969886ea00d97ef4e9d9de5d56585b3
tree11a5c7b06ef643f770f2d8d068e6c6624d87cfa2
parent4734753a6e323b73a89bf9d47375efac3ab70ea6
ath9k: Fix interrupt handling for the AR9002 family

commit 73f0b56a1ff64e7fb6c3a62088804bab93bcedc2 upstream.

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: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ar9002_mac.c