diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-11-16 03:41:02 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-17 23:32:16 +0300 |
commit | aeeb2065794361f823e17a20af0db18b3a369845 (patch) | |
tree | 04fb73ce164d0f29b26c314516b06b0fd1790b48 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 46270d077a761e72fc6ea5ec5a76c5ef2e61782b (diff) | |
download | linux-aeeb2065794361f823e17a20af0db18b3a369845.tar.xz |
ath9k: Fix LED configuration
On some x86 platforms, the LED gpio is active high
instead of active low. Identify such cards and modify
the GPIO usage to make sure LED works properly.
Cc: Russell Hu <rhu@qca.qualcomm.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 55ee0a5bc6fa..d2c044885aff 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -329,6 +329,7 @@ struct ath9k_ops_config { bool alt_mingainidx; bool no_pll_pwrsave; bool tx_gain_buffalo; + bool led_active_high; }; enum ath9k_int { |