Commit 8c8f9ba7 authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by John W. Linville

ath9k: Initialize the priority gpio for BT coex 3-wire

Oops, a stupid mistake in the original patch which adds coex 3-wire
support. Bluetooth priority gpio needs to be gpio 7.
Signed-off-by: default avatarVasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f42cc2c2
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#define ATH_WLANACTIVE_GPIO 5 #define ATH_WLANACTIVE_GPIO 5
#define ATH_BTACTIVE_GPIO 6 #define ATH_BTACTIVE_GPIO 6
#define ATH_BTPRIORITY_GPIO 7
#define ATH_BTCOEX_DEF_BT_PERIOD 45 #define ATH_BTCOEX_DEF_BT_PERIOD 45
#define ATH_BTCOEX_DEF_DUTY_CYCLE 55 #define ATH_BTCOEX_DEF_DUTY_CYCLE 55
......
...@@ -3691,10 +3691,12 @@ void ath9k_hw_fill_cap_info(struct ath_hw *ah) ...@@ -3691,10 +3691,12 @@ void ath9k_hw_fill_cap_info(struct ath_hw *ah)
btcoex_info->btactive_gpio = ATH_BTACTIVE_GPIO; btcoex_info->btactive_gpio = ATH_BTACTIVE_GPIO;
btcoex_info->wlanactive_gpio = ATH_WLANACTIVE_GPIO; btcoex_info->wlanactive_gpio = ATH_WLANACTIVE_GPIO;
if (AR_SREV_9285(ah)) if (AR_SREV_9285(ah)) {
btcoex_info->btcoex_scheme = ATH_BTCOEX_CFG_3WIRE; btcoex_info->btcoex_scheme = ATH_BTCOEX_CFG_3WIRE;
else btcoex_info->btpriority_gpio = ATH_BTPRIORITY_GPIO;
} else {
btcoex_info->btcoex_scheme = ATH_BTCOEX_CFG_2WIRE; btcoex_info->btcoex_scheme = ATH_BTCOEX_CFG_2WIRE;
}
} else { } else {
btcoex_info->btcoex_scheme = ATH_BTCOEX_CFG_NONE; btcoex_info->btcoex_scheme = ATH_BTCOEX_CFG_NONE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment