ath9k_hw: clean up generic timer code
authorFelix Fietkau <nbd@openwrt.org>
Sat, 14 Dec 2013 17:03:38 +0000 (18:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:22 +0000 (15:23 -0500)
commitc67ce33919d57627e98fadceea555ddc01ad77b4
treea4e481a7aabef73ebd0cbe1bf00d98d121652ac8
parent168c6f89a27b605fb7dc3e1572ee5b2a6f56c935
ath9k_hw: clean up generic timer code

- Use generic bitops instead of custom hackery
- Move interrupt enable/disable logic from ath9k to ath9k_hw
- Decouple ISR call from btcoex
- Make the overflow callback optional (to prevent IRQ storms)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/btcoex.c
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c