]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: add extra GPIO led support
authorMiaoqing Pan <miaoqing@qca.qualcomm.com>
Wed, 1 Apr 2015 02:19:57 +0000 (10:19 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 Apr 2015 17:15:01 +0000 (20:15 +0300)
commit61b559dea40ec1712be4a0ea712a2922a8f38588
treeafaa7ccd4fbc1e675c7a840532e30c288c23ed6c
parentfcc658dabf5ef0320de1fbb28a9478e265e60422
ath9k: add extra GPIO led support

ar9550 or later chips, the AR_GPIO_IN_OUT register only can
control GPIO[0:3]. For the extra GPIO, use standard GPIO calls
instead of WMAC internal registers.

Signed-off-by: Miaoqing Pan <miaoqing@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
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/reg.h