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:24:22 +0000 (12:24 -0800)
commit12bc42c524f045e914b0ee0cfb3eab33646e1acf
tree1a3988b37b9e3ad0a1ecae4708bb6e2465b18471
parent5fd93067a1e7bc8ce6a889816d2b4c2d19a2e970
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